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.

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 Mar 23, 2018
postalcodes_mexico-0.4.2.tar.gz (2.6 MB) Copy SHA256 hash SHA256 Source None Mar 23, 2018

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