Skip to main content

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

Project description

Postalcodes Mexico

https://img.shields.io/pypi/v/postalcodes_mexico.svg https://img.shields.io/travis/FlowFX/postalcodes_mexico.svg Documentation Status Updates 'Waffle.io - Columns and their card count'

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

Features

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

Reference

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.

http://www.correosdemexico.gob.mx/lservicios/servicios/CodigoPostal_Exportar.aspx

Credits

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

History

0.4.1 (2018-03-23)

  • Update postal code database to latest information from www.correosdemexico.gob.mx/lservicios/servicios/CodigoPostal_Exportar.aspx

  • 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.

Source Distribution

postalcodes_mexico-0.4.2.tar.gz (2.6 MB view hashes)

Uploaded Source

Built Distribution

postalcodes_mexico-0.4.2-py2.py3-none-any.whl (2.6 MB view hashes)

Uploaded Python 2 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