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.5 (2017-10-03)

  • Exclude production of invalid random addresses in ar_PS locale. See #20.

  • Bump dependency to Faker >= 0.8.4.

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

Uploaded Source

Built Distributions

postal_address-1.3.5-py2.py3-none-any.whl (24.4 kB view details)

Uploaded Python 2 Python 3

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for postal-address-1.3.5.tar.gz
Algorithm Hash digest
SHA256 00be6f1980ab0a97f08d611fbcf0dcae5d41c862802a1178121501723240554a
MD5 f3aa387f9c177ac330df19bd020c70e7
BLAKE2b-256 968a6b85abec82f88aae64ce1220bd03e7f3a77e86c215f4a59397ee5b39ce5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for postal_address-1.3.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 96947db5083f2fcf1357befaf71f412b93361dc38fd1e1921f06df7c76ff2bc7
MD5 0199e185c5e5cf9e016f4584256d58f3
BLAKE2b-256 0c67eef492a8913be7672f1bc658dd1431eddc760807ce3cda93d086a7409a7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for postal_address-1.3.5-py2.7.egg
Algorithm Hash digest
SHA256 8611da1345c053b4a04016bec0f7578bae41d7a2962cbb1c906037c2d66f4ca3
MD5 3a3397add336736c365e63e1f1c86e0d
BLAKE2b-256 bb7d6bf969fe976b8afc7e6978c31d89cdb4395c8652ba2b713fa0e7f5eec30e

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