Simple.Brazilian
1.3.2
See the version list below for details.
dotnet add package Simple.Brazilian --version 1.3.2
NuGet\Install-Package Simple.Brazilian -Version 1.3.2
<PackageReference Include="Simple.Brazilian" Version="1.3.2" />
paket add Simple.Brazilian --version 1.3.2
#r "nuget: Simple.Brazilian, 1.3.2"
// Install Simple.Brazilian as a Cake Addin #addin nuget:?package=Simple.Brazilian&version=1.3.2 // Install Simple.Brazilian as a Cake Tool #tool nuget:?package=Simple.Brazilian&version=1.3.2
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
- Inclusivo, código escrito e documentado em português
- Altíssima compatibilidade permitindo o uso em qualquer versão de .Net
- Net 8.0
- Net 6.0
- Net Core 3.1
- Net Framework 2.0
- Net Standard 2.0+
- Mono 5.4+
- Xamarin.iOS 10.14, 12.16+
- Xamarin.Mac 3.8, 5.16+
- Xamarin.Android 8.0+
- UWP 10.0.16299+
- Unity 2018.1+
O que já temos ou ainda queremos ter ?
Validadores:
- Validação de Documentos:
CEP
,CNPJ
,CPF
,IE
ePIS
- 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
eIE
- Máscaras para documentos:
RG
- Máscaras em geral:
CEP
eTelefone
- 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 arredondamentoABNT
- Funções para escrita de
valores por extenso
- Conversão de palavras em
singular
paraplural
- 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)
- Feriados Estaduais
- Dias úteis (pelas leis 10.607/2002 e 6.802/1980)
- Nomes de
meses
edias da semana
com e sem acentos, em maiúsculo e minúsculo - Enum de
UFs
relacionado com oCódigo IBGE
- Arrays com as
UFs
, osnomes dos estados
, seus códigos noIBGE
e suascapitais
- Lista de
Cidades
com osCódigos IBGE
Product | Versions 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 is compatible. 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. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 2.0
- No dependencies.
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
-
net8.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 | 107 | 11/19/2024 |
1.3.2 | 82 | 11/15/2024 |
1.3.1 | 202 | 5/22/2024 |
1.3.0 | 156 | 5/3/2024 |
1.2.3 | 166 | 2/13/2024 |
1.2.2 | 154 | 1/4/2024 |
1.2.1 | 190 | 12/8/2023 |
1.2.0 | 152 | 11/6/2023 |
1.1.4 | 701 | 3/12/2023 |
1.1.3 | 279 | 2/6/2023 |
1.1.2 | 292 | 1/26/2023 |
1.1.1 | 418 | 10/28/2022 |
1.1.0 | 365 | 10/26/2022 |
1.0.1 | 434 | 9/24/2022 |
1.0.0 | 421 | 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
https://github.com/RafaelEstevamReis/Simple.Brazilian