Skip to main content

Addresser parses and normalizes street addresses and intersections. It is a port of the Node package, parse-address, which in turn is a port of the PERL package, Geo::StreetAddress::US.

From the Geo::StreetAddress::US description:

Geo::StreetAddress::US is a regex-based street address and street intersection parser for the United States. Its basic goal is to be as forgiving as possible when parsing user-provided address strings. Geo::StreetAddress::US knows about directional prefixes and suffixes, fractional building numbers, building units, grid-based addresses (such as those used in parts of Utah), 5 and 9 digit ZIP codes, and all of the official USPS abbreviations for street types and state names…

Install

Addresser can be installed from pip:

$ pip install addresser

Usage

from addresser import parse_location

parse_location('1005 N Gravenstein Highway Sebastopol CA 95472')

Result

{
    'number': '1005',
    'prefix': 'N',
    'street': 'Gravenstein',
    'type': 'Hwy',
    'city': 'Sebastopol',
    'state': 'CA',
    'zip': '95472'
}

Release files for addresser 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for addresser 1.2.0
File Size Uploaded
addresser-1.2.0.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for addresser 1.2.0
File Interpreter ABI Platform
addresser-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / addresser-1.2.0.tar.gz

Download URL addresser-1.2.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eacb432112df8625cebe769451af9a8bc45ae361e91013a0d093ff1c93f0b21f
BLAKE2b-256 checksum
How to use checksums
08670720bc004d015e1751649408bf674ef1d852825c390c4f452d0b731270a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / addresser-1.2.0-py3-none-any.whl

Download URL addresser-1.2.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
364e18882d2844ac5dba83fbbdd04d58cc201e101a7c3ee23ff2ee6b8352e31d
BLAKE2b-256 checksum
How to use checksums
404be0680f4675d527e372d14e491d65e0e331dbf23f25838b23738e81168439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page