pycpfCPF generation and validation | |
Download |
pycpf Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Umgeher Taborda and Diogo Baeder
- Publisher web site:
- https://bitbucket.org/umgeher/
pycpf Tags
pycpf Description
pycpf is a CPF validator and generator.How to useFirst, install pycpf: pip install pycpfThen you can use it for generating a new CPF: >>> from pycpf import CPF >>> CPF() CPF('53587674019')or to validate an existing CPF: >>> CPF('53587674019').valid() TrueCPF objects can also be compared to strings: >>> CPF('53587674019') == '53587674019' Trueor even converted to strings: >>> str(CPF('53587674019')) '535.876.740-19'Product's homepage
pycpf Related Software