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 v1.3.2 (2016-12-20)

  • Exclude production of invalid random addresses in fa_IR locale.

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.2.tar.gz (28.7 kB view details)

Uploaded Source

Built Distributions

postal_address-1.3.2-py2.py3-none-any.whl (24.3 kB view details)

Uploaded Python 2 Python 3

postal_address-1.3.2-py2.7.egg (21.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for postal-address-1.3.2.tar.gz
Algorithm Hash digest
SHA256 595f12dda43ca43e172c5898dc735a23223b8b8903b5e3c1c44b5fe9f920ed6f
MD5 bf21d2d1f953d87bcd44ba8921732c9e
BLAKE2b-256 0283cadb10deeb252f269fd42a274470a5c39aa6822d2d84299570f11b8d0c3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for postal_address-1.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1110119b73e05fa8b130159a3dd8076eb8b34cbda47e3271caf51bd7ea66163b
MD5 d8f83f0355595ca886d7ad16aa47db4b
BLAKE2b-256 c7f337078593e3b4ce76675a81a1bbac8af52b372144dd6f2d0bd25b50f9fbd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for postal_address-1.3.2-py2.7.egg
Algorithm Hash digest
SHA256 e4eebde8c1759f2821e009eeb5433caa35b759981eebf6d90b7f0166e4e38750
MD5 7ca68fd18c421a1b1278b5024a2b50d0
BLAKE2b-256 f5788953e1d364e037dc7477334ac6bc6e4bb2a6fc0722187d33db5e709c4a34

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