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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file postalcodes_mexico-0.4.2.tar.gz.

File metadata

File hashes

Hashes for postalcodes_mexico-0.4.2.tar.gz
Algorithm Hash digest
SHA256 1d05c5ba847db627e3221d4ed7e0220ab86b0a2dad1e4a798d333015762d9de0
MD5 4256c3dd97d3dd75acc0bf0d5ea13cdc
BLAKE2b-256 3f920f3b4555d0c88ad533cc5c24461e4dfec86875487d04b469eb5a5e65b318

See more details on using hashes here.

File details

Details for the file postalcodes_mexico-0.4.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for postalcodes_mexico-0.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 91bd6a1df0faf9dedef38af79914901ec8a0f9f10f2bfa502f7c8d6e2b72e54e
MD5 7c052944cc93d3ace35d8ffaaf285a46
BLAKE2b-256 c47c7251aed5f541a07a8bc986f4fe7bfe9bf3d294b4acb22da71c0e572b3aa5

See more details on using hashes here.

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