Compute CURP and RFC for Mexican Citizens
Project description
MXCurpy
Generación de Clave Única de Registro de Población y el Registro Federal de Contibuyentes de México en Python.
Documentos en los que está basado este paquete:
CURP: (/docs/dof18102021.pdf)[INSTRUCTIVO NORMATIVO PARA LA ASIGNACIÓN DE LA CLAVE ÚNICA DE REGISTRO DE POBLACIÓN]
RFC:
Estado actual del proyecto
Por el momento está funcionando la creación de CURP, por lo que he decidido liberarlo para poder usarlo.
Uso
from mxcurpy.curp import curp
my_curp = curp(names="Juan José", lastname="Martínez", second_lastname="Pérez", birth_date="12-08-1989", birth_state="Durango", sex="h")
# MAPJ890812HDGRRN00
Consideraciones
Lista de estados válidos
Estados:
- "AGUASCALIENTES"
- "BAJA CALIFORNIA"
- "BAJA CALIFORNIA SUR"
- "CAMPECHE"
- "COAHUILA"
- "COLIMA"
- "CHIAPAS"
- "CHIHUAHUA"
- "DISTRITO FEDERAL"
- "CDMX"
- "CIUDAD DE MEXICO"
- "DURANGO"
- "GUANAJUATO"
- "GUERRERO"
- "HIDALGO"
- "JALISCO"
- "MEXICO"
- "MICHOACAN"
- "MORELOS"
- "NAYARIT"
- "NUEVO LEON"
- "OAXACA"
- "PUEBLA"
- "QUERETARO"
- "QUINTANA ROO"
- "SAN LUIS POTOSI"
- "SINALOA"
- "SONORA"
- "TABASCO"
- "TAMAULIPAS"
- "TLAXCALA"
- "VERACRUZ"
- "YUCATAN"
- "ZACATECAS"
- "NACIDO EN EL EXTRANJERO"
LICENCIA
MIT
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
mxcurpy-0.1.3.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file mxcurpy-0.1.3.tar.gz
.
File metadata
- Download URL: mxcurpy-0.1.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.9.16 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89e86a06fac0d8e9cf690b9441f34693977da3c64f5c035eee2a2e35aeb153c0 |
|
MD5 | 4ea4eb8e125c96ef14856450fdc7ed07 |
|
BLAKE2b-256 | 00261d653884d292cdc7c16d45ccbe359d9274965ed434b37f27e7676d43d607 |
File details
Details for the file mxcurpy-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: mxcurpy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.9.16 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7515ddc6607ebf12d4ded137f9e91c4dd8e02cc91e16fbf6a5d9ccc236746ff5 |
|
MD5 | 7c47a7c12bdee0eaf0705e5b332afb66 |
|
BLAKE2b-256 | 3131ecec5048356bc73e78fc1006f3f28e723ed9e374faf5d19b4a8a2456099c |