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

  • Re-allow production of random addresses in no_NO and fa_IR locales.

  • Bump dependency to Faker >= 0.7.7.

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

Uploaded Source

Built Distributions

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

Uploaded Python 2 Python 3

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for postal-address-1.3.3.tar.gz
Algorithm Hash digest
SHA256 4527b183a5670eccba99c0e1e4589ca759636374bdc3f7c0ea384f9f259a2c6b
MD5 87669ddade0911feec6378e96990875e
BLAKE2b-256 58de85b285e2a2dfc179896e32f422a341415676b9969a854ff1c70a2f6d9639

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for postal_address-1.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 874e20dd947f876245e8be4a1317591f652d800595d0b68d1b3f08c3660bfb90
MD5 ad55de6794cc38660c0b366178829881
BLAKE2b-256 129edebc3dafbe65eded377ae0cfaa150404ba8c65c14f6b01541dff6875c480

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for postal_address-1.3.3-py2.7.egg
Algorithm Hash digest
SHA256 21433ff49eda9ac075d307de56c4e17ba3b7e38918d418580acb7ece3b605570
MD5 bf680f8f4873feb84973c26cd4901f00
BLAKE2b-256 7efaa1a97b8352d5444428f412c65bfe1c2c31683c47689e4e56034741d62d90

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