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 1:

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

FAQ 1:

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 - 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.0.tar.gz (21.4 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.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: abrasileirado-1.0.0.tar.gz
  • Upload date:
  • Size: 21.4 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.0.tar.gz
Algorithm Hash digest
SHA256 078b7eb475f7d6b21ef718f65d78e71f2b24c0015e2c665ce9ed240335e313ae
MD5 2ff36c1b90e890296d0a71aae0000045
BLAKE2b-256 6892f5831667be0f087dfb0de810cb13e7eb5bba61f85da8577ed99337c0f8b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for abrasileirado-1.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: abrasileirado-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6de5b8888bcc4cc5281b3a42fc381b0cb19a2452584f9492186e97e2199a036
MD5 d2efdae5dc23a2d6fef8444742194aeb
BLAKE2b-256 b7af3c563feb31cb02df776118130ec250df18c4e8466c4aa6805b7a5d705102

See more details on using hashes here.

Provenance

The following attestation bundles were made for abrasileirado-1.0.0-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