Skip to main content

Parse, normalize and render postal addresses.

Project description

Python module to parse, normalize and render postal addresses.

Stable release: Last release Python versions Software license Requirements freshness

Development: Unit-tests status Documentation Status Coverage Status Code Quality

Motivation

« What ties us to territory is tax. » – Kevin Deldycke, 2014-11-07

The reason above is why we need fine-grained and meticulous territory management and normalization. This project aims to solve this problem once for all.

Don’t get me wrong, this work is a huge undertaking. Postal address parsing, normalization and rendering is hard. See the collection of falsehoods programmers believe about postal addresses.

This library is still in its early stages, but is good enough to implement the new European Directives on VAT, which requires all e-commerce shops to guess the locality of their EU customers depending on their billing address.

Changes for v`1.3.0 (2016-11-29) <https://github.com/scaleway/postal-address/compare/v1.2.0…v1.3.0>`_

  • Build documentation via Sphinx. Closes #14.

  • Move development and packaging documentation to Sphinx.

  • Restrict pycountry to 16.11.8 release because of bad Czech Republic subdivision definitions.

  • Remove popularity badge: PyPI download counters are broken and no longer displayed.

  • Move coverage config to setup.cfg.

  • Add test and develop dependencies.

  • Only show latest changes in the long description of the package instead of the full changelog.

  • Replace pep8 package by pycodestyle.

  • Enforce pycodestyle checks in Travis CI jobs.

  • Test production of packages in Travis CI jobs.

  • Always check for package metadata in Travis CI jobs.

  • Make wheels generated under Python 2 environnment available for Python 3 too.

  • Add link to full changelog in package’s long description.

Full changelog.

Download files

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

Source Distribution

postal-address-1.3.0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distributions

postal_address-1.3.0-py2.py3-none-any.whl (24.9 kB view details)

Uploaded Python 2 Python 3

postal_address-1.3.0-py2.7.egg (21.9 kB view details)

Uploaded Source

File details

Details for the file postal-address-1.3.0.tar.gz.

File metadata

File hashes

Hashes for postal-address-1.3.0.tar.gz
Algorithm Hash digest
SHA256 0ebd96b407f3b37dae19985e5a235514536d9334b71d6e00078c103bcedac3b8
MD5 6ec1744768f3c7e1b7aba7943432d8ae
BLAKE2b-256 4721086ca1870f1f4b7285b12c56dec5e0f34dbb6da43b4356b15b89211c2e6d

See more details on using hashes here.

File details

Details for the file postal_address-1.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for postal_address-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 05df0db533e890e92045461644da4cba3edcf9c8a01422ec48824d2cdb1ba0c5
MD5 848c3f643c1584ee6d5a84fcaaab158f
BLAKE2b-256 093dcbb036802944279104f52a3a830cd38fb857fbd2a3144ea807c10ac29819

See more details on using hashes here.

File details

Details for the file postal_address-1.3.0-py2.7.egg.

File metadata

File hashes

Hashes for postal_address-1.3.0-py2.7.egg
Algorithm Hash digest
SHA256 fba0b507468e760a9a56aad979ebdde39124cc70544ec9b6a779a7f810602317
MD5 e15f7e17f165486fde50d8c8277935b7
BLAKE2b-256 095acb2882ae83465dc24f636ddec718dca36c0cc7d3832737455d32c36c68b7

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