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

  • Fix selection of random locale in random_address().

  • Bump dependency to Faker >= 0.7.4.

  • Exclude production of invalid random addresses in no_NO locale.

  • Fix rendering of changelog link in RST.

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

Uploaded Source

Built Distributions

postal_address-1.3.1-py2.py3-none-any.whl (24.5 kB view details)

Uploaded Python 2 Python 3

postal_address-1.3.1-py2.7.egg (21.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for postal-address-1.3.1.tar.gz
Algorithm Hash digest
SHA256 b95974b4e3542e9aa5ccd81afef28c852d716f643789b24273e2ee615f6d1fa4
MD5 355e51b7b2cd23daa05f5e476ae01691
BLAKE2b-256 fa70e3c21c8e3bd740e8476cf52f2608600cf44eef3742bc9a593ec394b0bdfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for postal_address-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e2c9994478ba9061b32215830ba6f3d81cd0cf69fdd962e95f182943427deb1e
MD5 ea6f439f3d0308957b23cc36349d91df
BLAKE2b-256 21b0b7188062a131d1d2dacbb49f8e9959d1d702bfeaa470e94c662053a40a9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for postal_address-1.3.1-py2.7.egg
Algorithm Hash digest
SHA256 008d1479ee0ab68e37f1f3b18286d1e0b67ba7502231107686cc2891f638b1ab
MD5 8a3dc7f7cb00c5fe7c63235e14716121
BLAKE2b-256 951776ba80245bd4b6bcdb7b9726c3e1128d14fde6316e76d8ee26dd31a132d4

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