Simple.Brazilian 1.2.3

dotnet add package Simple.Brazilian --version 1.2.3
NuGet\Install-Package Simple.Brazilian -Version 1.2.3
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="1.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Simple.Brazilian --version 1.2.3
#r "nuget: Simple.Brazilian, 1.2.3"
#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=1.2.3

// Install Simple.Brazilian as a Cake Tool
#tool nuget:?package=Simple.Brazilian&version=1.2.3

.NET NuGet

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
    • Net6
    • Net5
    • Net Core 3.1
    • 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ção de Chaves PIX
  • Validação de Dados Bancários (sem calcular DV)
  • Validação de Dados Bancários (com cálculo DV)
  • 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: CNPJ, CPF, PIS e IE
  • Máscaras para documentos: RG
  • Máscaras em geral: CEP e Telefone
  • 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:

  • Montagem de BRCode para PIX Estático
  • Feriados Nacionais (pelas leis 10.607/2002 e 6.802/1980)
  • Dias úteis (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 was computed.  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 was computed.  net403 was computed.  net45 was computed.  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.
  • .NETStandard 1.0

  • .NETStandard 2.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.2.3 76 2/13/2024
1.2.2 129 1/4/2024
1.2.1 151 12/8/2023
1.2.0 126 11/6/2023
1.1.4 656 3/12/2023
1.1.3 228 2/6/2023
1.1.2 256 1/26/2023
1.1.1 399 10/28/2022
1.1.0 330 10/26/2022
1.0.1 394 9/24/2022
1.0.0 381 7/15/2022
0.6.2-beta 130 4/22/2022
0.6.1-beta 162 4/19/2022
0.6.0-beta 178 4/13/2022
0.5.0-alpha 142 3/30/2022
0.4.0-alpha 143 2/9/2022
0.3.2-alpha 234 10/8/2021
0.3.1-alpha 214 8/10/2021
0.3.0-alpha 265 6/27/2021
0.2.3-alpha 197 5/28/2021
0.2.2-alpha 239 5/27/2021
0.2.1-alpha 217 5/22/2021
0.1.2-alpha 208 5/11/2021
0.1.1-alpha 257 5/7/2021

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