Skip to main content

Determines large parts of a Mexican postal address from its postal code (C.P.).

Project description

Postalcodes Mexico Documentation Status Updates ' - Columns and their card count'

Determines large parts of a Mexican postal address from its postal code (C.P.).


Postalcods mexico provides a function places that returns a list of named tuples with all places in Mexico that share the given postal code.


The data used in this package comes from the official website of the Mexican Postal Service (Correos Mexico). On the download page of the catalogue of postal codes it is stated that this data is not to be commercialized:

El Catálogo Nacional de Códigos Postales, es elaborado por el Servicio Postal Mexicano y se proporciona en forma gratuita, no estando permitida su comercialización, total o parcial.


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.4.1 (2018-03-23)

  • Update postal code database to latest information from
  • Improve documentation on how to update the database

0.4.0 (2018-03-20)

  • Re-add utility functions for updating the database
  • Improve test suite
  • Configure pytest test runner
  • Improve documentation

0.3.0 (2018-03-16)

  • Add command line interface

0.2.1 (2018-03-16)

0.2.0 (2017-04-15)

  • 4-digit codes return places if exist.

0.1.5 (2017-04-06)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
postalcodes_mexico-0.4.2-py2.py3-none-any.whl (2.6 MB) Copy SHA256 hash SHA256 Wheel py2.py3
postalcodes_mexico-0.4.2.tar.gz (2.6 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page