This release is a pre-release and may not be stable for production use.
CURP Suite
CURP Suite es una librería de análisis y validación de la CURP Mexicana.
>>> from curp import CURP
>>> c = CURP("SABC560626MDFLRN01")
>>> c.fecha_nacimiento
datetime.date(1956, 6, 26)
>>> c.sexo
<Sexo.MUJER: 2>
>>> c.entidad
'Ciudad de México'
>>> c.nombre_valido("Concepción")
True
CURP Suite te permite extraer toda la información que contiene una CURP de forma conveniente. Además, toda la validación es automática. CURP Suite está diseñado para dar soporte a toda la especificación oficial de la CURP.
También puede ser invocada desde la terminal
$ curp SABC560626MDFLRN01
{"curp": "SABC560626MDFLRN01", "sexo": 2, "fecha_nacimiento": "1956-06-26", "entidad_nacimiento": {"name": "Ciudad de México", "iso": "MX-CMX"}}
Instalación
Desde PyPI
$ python3 -m pip install CURPSuite
CURP Suite soporta Python 3.13+.
Características
- Extracción de datos
- Fecha de nacimiento como objeto
datetime.date - Sexo compatible con ISO/IEC 5218
- Nombre y clave ISO 3166-2 de la entidad federativa de nacimiento
- Fecha de nacimiento como objeto
- Representación JSON de datos extraídos
- Validación con nombres y apellidos
- Validación con nombre completo
- Interfaz de Línea de Comandos
Documentación
Disponible en https://curpsuite.readthedocs.io.
Licencia
Este programa se distribuye bajo la licencia GPLv2.0, más información en el sitio de la Free Software Foundation.
Metadata
Release files for CURPSuite 2.7.0rc1
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 |
|---|---|---|---|---|
| curpsuite-2.7.0rc1.tar.gz | 30.3 kB | Without provenance | Details for curpsuite-2.7.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| curpsuite-2.7.0rc1-py3-none-any.whl | Python 3 | none | any | Details for curpsuite-2.7.0rc1-py3-none-any.whl |
Total release size: 52.7 kB
Release files / curpsuite-2.7.0rc1.tar.gz
| Download URL | curpsuite-2.7.0rc1.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5560ac406f12b6858d3401e0b71db364e509ee06a873f74f4241a6733e573e6a
|
|
BLAKE2b-256 checksum How to use checksums |
912b72f72fd4f35e8fac0d93a130402d6bca07bed9b026ce134ac7efc59dda54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / curpsuite-2.7.0rc1-py3-none-any.whl
| Download URL | curpsuite-2.7.0rc1-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcc7aca6a02b0a47169d2348305f245745850935c93d5afd9d1939747e20158c
|
|
BLAKE2b-256 checksum How to use checksums |
16c1a502eb3f36db8ef0c63a7c196e2d12ed6c1d2dc4fd3be9c270ba5aba0280
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for CURPSuite 2.7.0rc1
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.