Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.4.1 (2019-07-19)

  • Freeze pycountry version to 18.5.26 to avoid issues with subdivsion.

Full changelog.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for postal-address, version 1.4.1
Filename, size File type Python version Upload date Hashes
Filename, size postal_address-1.4.1-py2.py3-none-any.whl (25.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size postal_address-1.4.1-py3.7.egg (47.5 kB) File type Egg Python version 3.7 Upload date Hashes View hashes
Filename, size postal-address-1.4.1.tar.gz (31.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page