Skip to main content

Faz a validação de CPF Brasileiro

Project description

validate-cpf

Validates Brazilian CPF

Features

  • CPF Validation with mask
  • CPF Validation without mask

Modes of use

#!/usr/bin/python
import validate_cpf

# Without mask
validate_cpf.is_valid('52998224725') # True

# With mask
validate_cpf.is_valid('529.982.247-25') # True

or

#!/usr/bin/python
from validate_cpf import is_valid

# Without mask
is_valid('11111111111') # False

# With mask
is_valid('111.111.111-11') # False

Author

João Filho Drummerzzz

Github

Credits

This package was created with Cookiecutter and the cs01/cookiecutter-pypackage project template.

Cookiecutter

cs01/cookiecutter-pypackage

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

validate_cpf-0.1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

validate_cpf-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file validate_cpf-0.1.2.tar.gz.

File metadata

  • Download URL: validate_cpf-0.1.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Linux/5.4.0-73-generic

File hashes

Hashes for validate_cpf-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fac4f8f8638cde8e661dea03e4a6bb08814da6ff17df8a9a3c3acaf87c4f221d
MD5 dbc88f393ab32d2f998915d01e3b26a5
BLAKE2b-256 a5e60c1746dc999a2df53cb66d62c5014acd42962809a42aca7d4582450c05ec

See more details on using hashes here.

File details

Details for the file validate_cpf-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: validate_cpf-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Linux/5.4.0-73-generic

File hashes

Hashes for validate_cpf-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2529ef52584c54f34915cddfa7e023da1575505801ef1446ce1a7d6c990dab33
MD5 ed9eca064ef485126389fefef95ef7c2
BLAKE2b-256 4ebc92edd4104dfb5c6a19345386b12ae04ad10373de6ffcbd73554304214aff

See more details on using hashes here.

Supported by

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