This is a Docker image with pypostal (Python bindings for libpostal)
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
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.
Based on a original solution using pypostal and jupyter.