Python postcode validation and manipulation
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
postcode
tests
README.mkd
requirements.txt
setup.py

README.mkd

Postcode Validation

UK postcodes only at the moment

Usage

>>> from postcode import uk
>>> p = uk.validate('DN11 9LY')
>>> print(p.normalise)
>>> print(p.outcode)
>>> print(p.incode)