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
Sinta-se à vontade para encontrar bugs e relatá-los para mim. Seu feedback é muito apreciado. Abraços do Gabriel Logan!
Documentação
https://gabriel-logan.github.io/Gerador-CPF-e-CNPJ-valido/py
Instalação
pip install cpf-and-cnpj-generator
Funções Disponíveis
- generate_cnpj: Geração de CNPJ.
- generate_cpf: Geração de CPF.
Uso
Aqui está um exemplo de como usar as funções neste pacote:
from cpf_and_cnpj_generator import generate_cnpj, generate_cpf
# Gerar um CNPJ válido
cnpj = generate_cnpj()
print(cnpj)
# Gerar um CPF válido
cpf = generate_cpf()
print(cpf)
Sinta-se à vontade para explorar as várias funções e experimentar diferentes entradas para entender seu comportamento. Se você encontrar algum problema ou tiver sugestões, não hesite em entrar em contato comigo. Seu feedback é valioso e ajuda a melhorar o pacote. Boa codificação!
Por - Gabriel Logan
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_and_cnpj_generator-1.0.1.tar.gz.
File metadata
- Download URL: cpf_and_cnpj_generator-1.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
348cba6c24aba346b0e2a3c43e1ce8807f7a962e9f4e6b7644edb5529bd3e0bc
|
|
| MD5 |
e2b58454c1bf5de6b83c9fd7fd48b4b7
|
|
| BLAKE2b-256 |
70f01e28290962a48074ecfae0591ac372c4fcd5145aa7da12a2e109010417ed
|
File details
Details for the file cpf_and_cnpj_generator-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cpf_and_cnpj_generator-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84978b4ca3c0673b14a634656d5e1e68d3e77079ec8d8f197770b8d35d303668
|
|
| MD5 |
b05d4f52655a830c91f26aec4b2aa6cb
|
|
| BLAKE2b-256 |
17ffc058e7f69fc9bbaeaf6472f50e81aeafe624753884d7b4c59a575e902a08
|