Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.01 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.01 KB

pypostal-docker

This is a Docker image with pypostal (Python bindings for libpostal)

Github | Docker Hub

Usage

Extend this Dockerfile or use as a base image for the task you need.

In your Dockerfile:

FROM wojtylacz/pypostal-docker

# execute your python script where you import postal

pypostal 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')

For additional details, please see the pypostal project.

Contribution

Based on a original solution using pypostal and jupyter.