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

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

Full changelog.

Project details


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

Uploaded Source

Built Distributions

postal_address-1.4.1-py3.7.egg (47.5 kB view details)

Uploaded Source

postal_address-1.4.1-py2.py3-none-any.whl (25.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: postal-address-1.4.1.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for postal-address-1.4.1.tar.gz
Algorithm Hash digest
SHA256 81a803843d6fb97ad7837ae3a806f68f20fb9824e15081571094d3f2e9533ce8
MD5 349d335525723bff0f9c0c4e03a70b7f
BLAKE2b-256 fd5d46ffe907b29bfd16921d41cdd1c303b413dd967d82ba2913ae33a1ae42cf

See more details on using hashes here.

File details

Details for the file postal_address-1.4.1-py3.7.egg.

File metadata

  • Download URL: postal_address-1.4.1-py3.7.egg
  • Upload date:
  • Size: 47.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for postal_address-1.4.1-py3.7.egg
Algorithm Hash digest
SHA256 cbebaa334f63d844845d5060a38b3e4ca1791ef0767ba547d927c2959f419734
MD5 864115105cca2a03b41b12ff089bf00d
BLAKE2b-256 b93fb34a29905547a74727c4a92930aa569df4729e96d491ebd188f756762d39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postal_address-1.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for postal_address-1.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c09244bfb9850693802954ca92b3b290c2c7617ab8d14d60b5019e312e158c82
MD5 a94583ec94c4f4950d92e1b4023bd9b2
BLAKE2b-256 3e7a570bf1a6f3a80dd00143eaebada01a76e11b3f826f27aefd3c1ddc994162

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