Validação e geração de CPF e CNPJ
Project description
docbrutils
Pacote Python para validação e geração de CPF e CNPJ válidos.
Instalação
pip install docbrutils
Uso
from docbrutils import cpf, cnpj
cpf.validate_cpf('123.456.789-09')
cpf.generate_cpf()
cnpj.validate_cnpj('12.345.678/0001-95')
cnpj.generate_cnpj()
Testes
python -m unittest discover
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
docbrutils-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docbrutils-0.1.0.tar.gz.
File metadata
- Download URL: docbrutils-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3d005a0617abde1b45e3a66b0663680c012832c910056b8c4082a5735720eb7
|
|
| MD5 |
a0f58419211f770fb467d0853cbc5985
|
|
| BLAKE2b-256 |
df07a3118c7d279931a3fb6a099a8482d003fc564a0d847e62f4fd2dadbd1993
|
File details
Details for the file docbrutils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: docbrutils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c26fbe4da3c8c960c79ffcc7c4f400fbbe7fe2c47ccff314ad7029321791236d
|
|
| MD5 |
c11c16810b11d9112b3fe04b0acba811
|
|
| BLAKE2b-256 |
d0d1abb021b6ef594a1b55be25955d8f021a8f87efee38c3ea7fd07900946df7
|