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.

Files for postalcodes-mexico, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size postalcodes_mexico-0.4.2-py2.py3-none-any.whl (2.6 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size postalcodes_mexico-0.4.2.tar.gz (2.6 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page