Catalog PyPI
PACKAGE EXPLORERView in registry

addresscleaner

PyPI

Utility for normalizing (Prisoner-centric) street addresses

Versions collected1
Direct dependencies0From release 0.1.0
Last observed20 Oct, 19:21 UTC

README

Version 0.1.0 documentation
# Betwen the Bars address cleaner

This is a simple library to clean and normalize textual addresses.  It is
biased toward the sorts of addresses people in prison are given.

## Example usage

    from addresscleaner import parse_address, format_address

    >>> parsed = parse_address("""John Dough
    ... #1234567
    ... 7819 228th St.
    ... Raiford, FL 32026-1120""")
    >>> print parsed
    {'name': 'John Dough', 'address1': '#1234567', 'address2': '7819 228th St.', 'city': 'Raiford',  'state': 'FL', 'zip': '32026-1120'}

    >>> format_address(parsed)
    u'John Dough\n#1234567\n7819 228th St.\nRaiford, FL  32026-1120'

An exception of type ``addresscleaner.AddressException`` is raised if the
parser is unable to figure out something about the address.  The exception's
message tries to explain as much as possible where it went wrong.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.029 Sept 20170

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
yourcelf/btb-address-cleaner

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:21 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6f31fe4a301d374b44cca200f7f0f4882b2a2d16a24db81278eb68f8e44c99d9