Skip to main content

Python library specific brazilian objects and validations.

Project description

Python BRfied

License Python QA Coverage Publish Docs pre-commit

Python library specific brazilian objects and validations.

FAQ 1:

Why I create abrasileirado? Because this is Brazil (Toretto, 2020).

FAQ 2:

Why are classes, properties, and methods in Portuguese? (Toretto, 2020) already answered.

FAQ 3:

Why not validate-docbr, pycpfcnpj or brutils? Because I prefer Immutable classes and here we have more types implementeds. See comparation.

Immutable classes

With validation, formating and unformating

  • ✅ CEP - Código de Endereçamento Postal - Empresa de Correio e Telegráfos (ECT)
  • ✅ EnderecoBrasil - ECT
  • ✅ CPF - Cadastro de Pessoa Física - Receita Federal do Brasil (RFB)
  • ✅ CNPJ (new and old standard) - Cadastro Nacional de Pessoa Jurídica - RFB
  • ✅ CNES - Cadastro Nacional de Estabelecimento de Saúde - DATASUS
  • ✅ CNS - Cadastro Nacional de Saúde (Cartão SUS) - DATASUS
  • ✅ PIS - Programa de Integração Social - Tesouro Nacional
  • ✅ RENAVAM - Registro Nacional de Veículos Automotores - Secretaria Nacional de Trânsito (Senatran)
  • ✅ TituloEleitoral - Tribunal Superior Eleitoral - TSE
  • ✅ Telefone - Agência Nacional de Telecomunicações (Anatel)
  • ✅ Passaporte - Polícia Federal (PF)
  • ✅ PlacaVeicular - Conselho Nacional de Trânsito (CONTRAN)
  • ✅ NUP - Número Único de Processo - Conselho Nacional de Justiça (CNJ)
  • ✅ CertidaoRCPN - Certidão de nascimento, casamento e outros - Conselho Nacional de Justiça (CNJ)

CEP, EnderecoBrasil, CPF, CNPJ, CNH, CNS, CNES, PIS, RENAVAM, Titulo eleitoral, NUP, Telefone, Passaporte, Placa veicular, Certidão

Enums

In accordance with regulatory bodies

  • ✅ Sim/Não (Enum)

  • ✅ Estado Civil (Enum) - Instituto Brasileiro de Geografia e Estatística (IBGE)

  • ✅ Cor/Raça (Enum) - IBGE

  • ✅ Sexo (Enum) - IBGE

  • ✅ Gênero (Enum) - IBGE*

  • ✅ Deficiência (Enum) - IBGE

  • ✅ Zona de habitação (Enum) - IBGE

  • ✅ Região geopolítica (Enum) - IBGE

  • ✅ Unidade federativa (Enum) - IBGE

  • ✅ Grupo de natureza jurídica (Enum) - IBGE

  • ✅ Natureza jurídica (Enum) - IBGE

  • 🚫 Modulo11

  • 🚫 ProtocoloIntegrado

  • 🚫 ProtocoloJustica

  • 🚫 PJE

  • 🚫 Boleto

  • 🚫 NFE

  • 🚫 Municipio

Validações e formatações

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

abrasileirado-1.0.1.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

abrasileirado-1.0.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file abrasileirado-1.0.1.tar.gz.

File metadata

  • Download URL: abrasileirado-1.0.1.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for abrasileirado-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d78ec3d63efd773870b00133bbe10c9f6eb257f10bcc9bb2c7794f8b9ea09b7d
MD5 296859b2ec6c526359e4c44c87f69a87
BLAKE2b-256 182fffadfce1b4dcd5efd54d27e73322381dc977fa571a938ef1cd8ca442a4e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for abrasileirado-1.0.1.tar.gz:

Publisher: publish.yml on abrasileirado/python_abrasileirado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abrasileirado-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: abrasileirado-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for abrasileirado-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ccd242088030177a70900ebda810134c79d7d073f5a0a8c306b18590745c6cf
MD5 9fc3d408e9d750cea535b50364fac3d9
BLAKE2b-256 ff8c3984256a1d745ddf4f99cb90d2101e3ae6ffbe5dd11e9c8282ad7bba216d

See more details on using hashes here.

Provenance

The following attestation bundles were made for abrasileirado-1.0.1-py3-none-any.whl:

Publisher: publish.yml on abrasileirado/python_abrasileirado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page