Biblioteca de validação de CPF e CNPJ, inclusive com suporte ao CNPJ alfanumérico (2026)
Project description
cpf_alfacnpj
Biblioteca de validação de CPF e CNPJ, inclusive com suporte ao CNPJ alfanumérico (2026).
[!CAUTION] Por favor, note que o cálculo está baseado na pouca documentação fornecida até junho de 2024. Ainda não foram fornecidos exemplos de CNPJs válidos para que seja possível testar completamente.
Veja no PyPI: https://pypi.org/project/cpf-alfacnpj/
Instalação
Você pode instalar a biblioteca via pip:
pip install cpf-alfacnpj
Uso em programas
>>> from cpf_alfacnpj import validar_cnpj_alfanumerico
>>> print(validar_cnpj_alfanumerico("AB.C4A.678/0001-60"))
True
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
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 cpf_alfacnpj-0.3.0.tar.gz.
File metadata
- Download URL: cpf_alfacnpj-0.3.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a2c07fdbc854e9a9e60afd3ae89990eecf2b683228baa22f449ff27c2d473b0
|
|
| MD5 |
112dd04f9fe10c10fe9f9971dfd6bd97
|
|
| BLAKE2b-256 |
7cd4c0149d7712566b838565ca6aab7b119b248e36481595b5352fbc8b1eba63
|
File details
Details for the file cpf_alfacnpj-0.3.0-py3-none-any.whl.
File metadata
- Download URL: cpf_alfacnpj-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18a9096cdefbe36762108b30ab974e73ee356e60b85760fa1e8b00df2022db2f
|
|
| MD5 |
63583a3cc23fd7c9e119eebba75151b7
|
|
| BLAKE2b-256 |
6c72245e7c3c8867b1bea47c296c5ba5c8395a7d0675504c755b14abdd663045
|