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.4.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

mxcurpy-0.1.4-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

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