Faz a validação de CPF Brasileiro
Project description
validate-cpf
Validates Brazilian CPFFeatures
- 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
Credits
This package was created with Cookiecutter and the cs01/cookiecutter-pypackage project template.
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
validate_cpf-0.1.2.tar.gz
(3.5 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fac4f8f8638cde8e661dea03e4a6bb08814da6ff17df8a9a3c3acaf87c4f221d
|
|
| MD5 |
dbc88f393ab32d2f998915d01e3b26a5
|
|
| BLAKE2b-256 |
a5e60c1746dc999a2df53cb66d62c5014acd42962809a42aca7d4582450c05ec
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2529ef52584c54f34915cddfa7e023da1575505801ef1446ce1a7d6c990dab33
|
|
| MD5 |
ed9eca064ef485126389fefef95ef7c2
|
|
| BLAKE2b-256 |
4ebc92edd4104dfb5c6a19345386b12ae04ad10373de6ffcbd73554304214aff
|