Python bindings to libpostal for fast international address parsing/normalization
pypostal These are the official Python bindings to https://github.com/openvenues/libpostal, a fast statistical parser/normalizer for street addresses anywhere in the world. Usage from postal.expand import expand_address expand_address(‘Quatre vingt douze Ave des Champs-Élysées’) from postal.parser import parse_address parse_address(‘The Book Club 100-106 Leonard St, Shoreditch, London, Greater London, EC2A 4RH, United Kingdom’) Installation Before using the Python bindings, you must install the libpostal C library. Make sure you have the following prerequisites: On Ubuntu/Debian sudo apt-get install curl autoconf automake libtool python-dev pkg-config […]
Read more