This pypi package provides Python functions to generate valid Brazilian CPF (Cadastro de Pessoas Físicas) and CNPJ (Cadastro Nacional da Pessoa Jurídica) numbers.
Project description
cpf-and-cnpj-generator
Feel free to find bugs and report them to me. Your feedback is highly appreciated. Hugs from Gabriel Logan!
Documentation
https://gabriel-logan.github.io/Gerador-CPF-e-CNPJ-valido/py
Installation
pip install cpf-and-cnpj-generator
Avaliable Functions
- generate_cnpj: CNPJ generation.
- generate_cpf: CPF generation.
Usage
Here is an example of how to use the functions in this package:
from cpf_and_cnpj_generator import generate_cnpj, generate_cpf
# Generate a valid CNPJ
cnpj = generate_cnpj()
print(cnpj)
# Generate a valid CPF
cpf = generate_cpf()
print(cpf)
Feel free to explore the various functions and experiment with different inputs to understand their behavior. If you encounter any issues or have suggestions, don't hesitate to reach out to me. Your feedback is valuable and helps improve the package. Happy coding!
By - Gabriel Logan
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
Built Distribution
File details
Details for the file cpf_and_cnpj_generator-0.0.3.tar.gz
.
File metadata
- Download URL: cpf_and_cnpj_generator-0.0.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca7f4ca98ab57be9b386bb98419d7e9c5c7cbeecd9fd4f7a5fead29312a156af |
|
MD5 | b29f908a795a99bdcc894fdfcfb820c7 |
|
BLAKE2b-256 | a22ca648610da5637d6bcc57d6ab5d266c9e03fdb217c2b4b9b308ce742cd0db |
File details
Details for the file cpf_and_cnpj_generator-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: cpf_and_cnpj_generator-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 365a1e7716b27da0aaf227d621bca493161f014286cb391e87f790805b3ebb89 |
|
MD5 | 3a01bc3c86ed3bc88c9f6265880b060a |
|
BLAKE2b-256 | 018d6ff02af8624871843c1b10431a1333b90248c8ab58b445925219bbc5ab03 |