Skip to main content

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

PyPI version License: MIT PyPI downloads

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

cpf_and_cnpj_generator-0.0.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

cpf_and_cnpj_generator-0.0.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file cpf_and_cnpj_generator-0.0.3.tar.gz.

File metadata

File hashes

Hashes for cpf_and_cnpj_generator-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ca7f4ca98ab57be9b386bb98419d7e9c5c7cbeecd9fd4f7a5fead29312a156af
MD5 b29f908a795a99bdcc894fdfcfb820c7
BLAKE2b-256 a22ca648610da5637d6bcc57d6ab5d266c9e03fdb217c2b4b9b308ce742cd0db

See more details on using hashes here.

File details

Details for the file cpf_and_cnpj_generator-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for cpf_and_cnpj_generator-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 365a1e7716b27da0aaf227d621bca493161f014286cb391e87f790805b3ebb89
MD5 3a01bc3c86ed3bc88c9f6265880b060a
BLAKE2b-256 018d6ff02af8624871843c1b10431a1333b90248c8ab58b445925219bbc5ab03

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page