pycpf
CPF validator and generator.
How to use
- First, install pycpf:
$ pip install pycpf
- Then 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() True- CPF objects can also be compared to strings:
>>> CPF('53587674019') == '53587674019' True- or even converted to strings:
>>> str(CPF('53587674019')) '535.876.740-19'
License
This software is licensed through BSD 2-clause license. Please read “LICENSE” for more information.
Metadata
Release files for pycpf 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycpf-0.1.tar.gz | 2.1 kB | Without provenance | Details for pycpf-0.1.tar.gz |
Release files / pycpf-0.1.tar.gz
| Download URL | pycpf-0.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60098df940f2a7207fbafa243c4dff16be9a0ee051dc87bf0c6eacfaa62f2c81
|
|
BLAKE2b-256 checksum How to use checksums |
2bd31b6fe32df6db72862e21b9826a75a2d3bfa8786544ef3552f89e292c2536
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pycpf 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.