Skip to main content

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)

Uploaded Source

Built Distribution

mxcurpy-0.1.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

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

Hashes for mxcurpy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 89e86a06fac0d8e9cf690b9441f34693977da3c64f5c035eee2a2e35aeb153c0
MD5 4ea4eb8e125c96ef14856450fdc7ed07
BLAKE2b-256 00261d653884d292cdc7c16d45ccbe359d9274965ed434b37f27e7676d43d607

See more details on using hashes here.

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

Hashes for mxcurpy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7515ddc6607ebf12d4ded137f9e91c4dd8e02cc91e16fbf6a5d9ccc236746ff5
MD5 7c47a7c12bdee0eaf0705e5b332afb66
BLAKE2b-256 3131ecec5048356bc73e78fc1006f3f28e723ed9e374faf5d19b4a8a2456099c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page