Parse, normalize and render postal addresses.
Project description
Python module to parse, normalize and render postal addresses.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file postal-address-1.3.1.tar.gz
.
File metadata
- Download URL: postal-address-1.3.1.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95974b4e3542e9aa5ccd81afef28c852d716f643789b24273e2ee615f6d1fa4 |
|
MD5 | 355e51b7b2cd23daa05f5e476ae01691 |
|
BLAKE2b-256 | fa70e3c21c8e3bd740e8476cf52f2608600cf44eef3742bc9a593ec394b0bdfc |
File details
Details for the file postal_address-1.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: postal_address-1.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2c9994478ba9061b32215830ba6f3d81cd0cf69fdd962e95f182943427deb1e |
|
MD5 | ea6f439f3d0308957b23cc36349d91df |
|
BLAKE2b-256 | 21b0b7188062a131d1d2dacbb49f8e9959d1d702bfeaa470e94c662053a40a9e |
File details
Details for the file postal_address-1.3.1-py2.7.egg
.
File metadata
- Download URL: postal_address-1.3.1-py2.7.egg
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 008d1479ee0ab68e37f1f3b18286d1e0b67ba7502231107686cc2891f638b1ab |
|
MD5 | 8a3dc7f7cb00c5fe7c63235e14716121 |
|
BLAKE2b-256 | 951776ba80245bd4b6bcdb7b9726c3e1128d14fde6316e76d8ee26dd31a132d4 |