Simple.Brazilian 0.4.0-alpha

This is a prerelease version of Simple.Brazilian.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Simple.Brazilian --version 0.4.0-alpha                
NuGet\Install-Package Simple.Brazilian -Version 0.4.0-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Simple.Brazilian" Version="0.4.0-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Simple.Brazilian --version 0.4.0-alpha                
#r "nuget: Simple.Brazilian, 0.4.0-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Simple.Brazilian as a Cake Addin
#addin nuget:?package=Simple.Brazilian&version=0.4.0-alpha&prerelease

// Install Simple.Brazilian as a Cake Tool
#tool nuget:?package=Simple.Brazilian&version=0.4.0-alpha&prerelease                

.NET Nuget (with prereleases)

Brazilian text Tools

This library is (will be) a tool for developers of brazilian-portuguese software

To be as inclusive as possible this readme will be in Portuguese

Repositório de Ferramentas Textuais

Esta biblioteca será uma ferramenta para todos que escrevem software em português e precisam lidar com textos, datas, e valores monetários em diferentes ambientes.

Para manter o projeto acessível, este readme e toda a documentação será em português

O que somos ?

Toda software-house sempre escreve seus próprios métodos para remover acentos, escrever números por extenso, etc.

Existem repositórios em várias linguagens porém é raro que:

  • Sejam em C#
  • Sejam enxutos
  • Sejam altamente compatíveis
  • Poucas ou nenhuma dependência externa
  • Licença permissiva para uso comercial irrestrito

Quais são os pilares desta biblioteca ?

  • Conformidade com a ABNT
  • Segurança e previsibilidade
    • 100% coberto por testes unitários
    • Verificação a cada commit/merge
      .NET
  • Inclusivo, código escrito e documentado em português
  • Altíssima compatibilidade permitindo o uso em qualquer versão de .Net
    • Net5
    • Net Core 3.1
    • Net Framework 4.5
    • Net Framework 4.0
    • Net Framework 2.0
    • Net Standard 1.0+
      • Mono 4.6+
      • Xamarin.iOS 10.0+
      • Xamarin.Android 7.0+
      • UWP 8.0+
      • Unity 2018.1+

O que já temos ou ainda queremos ter ?

Validadores:

  • Validação de Documentos: CEP, CNPJ, CPF, IE e PIS
  • Validação de Documentos: RG
  • Valida Dia Útil com possibilidade de verificar feriados nacionais
  • Calculador de dias úteis (ex.: Quando será daqui X dias úteis)

Formatadores:

  • Máscaras para documentos: CEP, CNPJ, CPF e PIS
  • Máscaras para documentos: IE e RG
  • Máscaras em geral: Telefone e CEP
  • Remoção de máscaras
  • Remoção de acentos (torna o texto compatível com ASCII7)
  • Remoção de caracteres especiais (configurável)
  • Remoção de espaços desnecessários
  • Conversão de textos em números
  • Conversão de números em texto com arredondamento ABNT
  • Conversão de valor em reais para texto com sinal monetário e arredondamento ABNT
  • Funções para escrita de valores por extenso
  • Conversão de palavras em singular para plural
  • Filtragem de textos para remoção de caracteres por categorias

Dados:

  • Feriados Nacionais (pelas leis 10.607/2002 e 6.802/1980)
  • Nomes de meses e dias da semana com e sem acentos, em maiúsculo e minúsculo
  • Enum de UFs relacionado com o Código IBGE
  • Arrays com as UFs, os nomes dos estados, seus códigos no IBGE e suas capitais
  • Lista de Cidades com os Códigos IBGE
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard1.0 is compatible.  netstandard1.1 was computed.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 was computed.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.3 74 11/19/2024
1.3.2 69 11/15/2024
1.3.1 197 5/22/2024
1.3.0 149 5/3/2024
1.2.3 164 2/13/2024
1.2.2 152 1/4/2024
1.2.1 188 12/8/2023
1.2.0 150 11/6/2023
1.1.4 698 3/12/2023
1.1.3 276 2/6/2023
1.1.2 290 1/26/2023
1.1.1 416 10/28/2022
1.1.0 363 10/26/2022
1.0.1 432 9/24/2022
1.0.0 419 7/15/2022
0.6.2-beta 163 4/22/2022
0.6.1-beta 192 4/19/2022
0.6.0-beta 206 4/13/2022
0.5.0-alpha 174 3/30/2022
0.4.0-alpha 174 2/9/2022
0.3.2-alpha 266 10/8/2021
0.3.1-alpha 228 8/10/2021
0.3.0-alpha 275 6/27/2021
0.2.3-alpha 223 5/28/2021
0.2.2-alpha 248 5/27/2021
0.2.1-alpha 245 5/22/2021
0.1.2-alpha 239 5/11/2021
0.1.1-alpha 268 5/7/2021

Veja documentação e exemplos na página do GitHub
Pareado com o commit 5cc96e0
https://github.com/RafaelEstevamReis/Simple.Brazilian