Install
pip install brdocs-validation
Supported docs and its formats
| Supports | Description | Format | Format's support |
|---|---|---|---|
| CNPJ | 12.345.678/9012-34 OR Without special chars | ||
| CPF | 123.456.789-01 OR Without special chars | ||
| CNH | Only numbers | Length: 11 | |
| NIS/PIS/PASEP/NIT | Use NIS type for PIS, PASEP, NIT | 123.45678.90-1 OR Only numbers | |
| CNS | Cartão Nacional de Saúde | Only numbers | |
| RENAVAM | Only numbers | Length: 9, 10 & 11 | |
| TE | Título de eleitor | Only numbers | |
| CERT | Certidão de casamento, nascimento e óbito | Only numbers | |
| SEI | Número do Processo SEI | 12345-67890123/4567-89 OR without special chars |
Usage
from br_docs import CNPJ, CPF, CNH, NIS, CNS, RENAVAM, TE, CERT, SEI
from pydantic import BaseModel
class User(BaseModel):
cpf: CPF
cnpj: CNPJ
cnh: CNH
nis: NIS
cns: CNS
renavam: RENAVAM
te: TE
cert: CERT
sei: SEI
Metadata
Release files for brdocs-validation 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brdocs_validation-0.5.0.tar.gz | 9.4 kB | Without provenance | Details for brdocs_validation-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brdocs_validation-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for brdocs_validation-0.5.0-py3-none-any.whl |
Total release size: 20.1 kB
Release files / brdocs_validation-0.5.0.tar.gz
| Download URL | brdocs_validation-0.5.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
435833badb81ed97ec8170a63df68f40f57146f00ce8f6710f1f4deec0bd7257
|
|
BLAKE2b-256 checksum How to use checksums |
cf10c9957d1ea9f13ff976a5cdfc1a4b020873fc7c99cdb6b2c29817ae6c2096
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / brdocs_validation-0.5.0-py3-none-any.whl
| Download URL | brdocs_validation-0.5.0-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5f254fc774736e4f52110788a0c02dd406a6c28cd5c844ae567589e73ee3669
|
|
BLAKE2b-256 checksum How to use checksums |
995f8c61c8196f405c6bdd8dd2aa41c8d47d0565151ff8b74fb2095cc1f06051
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for brdocs-validation 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.