:postal_horn: Parse, normalize and render postal addresses.
Python module to parse, normalize and render postal addresses.
Stable release: |release| |versions| |license| |dependencies|
Development: |build| |docs| |coverage| |quality|
.. |release| image:: https://img.shields.io/pypi/v/postal-address.svg :target: https://pypi.python.org/pypi/postal-address :alt: Last release .. |versions| image:: https://img.shields.io/pypi/pyversions/postal-address.svg :target: https://pypi.python.org/pypi/postal-address :alt: Python versions .. |license| image:: https://img.shields.io/pypi/l/postal-address.svg :target: http://opensource.org/licenses/BSD-2-Clause :alt: Software license .. |dependencies| image:: https://requires.io/github/scaleway/postal-address/requirements.svg?branch=master :target: https://requires.io/github/scaleway/postal-address/requirements/?branch=master :alt: Requirements freshness .. |build| image:: https://travis-ci.org/scaleway/postal-address.svg?branch=develop :target: https://travis-ci.org/scaleway/postal-address :alt: Unit-tests status .. |docs| image:: https://readthedocs.org/projects/postal-address/badge/?version=develop :target: http://postal-address.readthedocs.io/en/develop/ :alt: Documentation Status .. |coverage| image:: https://codecov.io/gh/scaleway/postal-address/branch/develop/graph/badge.svg :target: https://codecov.io/github/scaleway/postal-address?branch=develop :alt: Coverage Status .. |quality| image:: https://scrutinizer-ci.com/g/scaleway/postal-address/badges/quality-score.png?b=develop :target: https://scrutinizer-ci.com/g/scaleway/postal-address/?branch=develop :alt: Code Quality
« 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.