Skip to main content

Address parser for Finnish addresses

Project description

Address parser

pypi python Build Status codecov

Simple address parser with localization support.

Note: This library is meant to be simple, light weight and easy to adapt. This is not the best and most optimized address parser out there. For state of the art parser you should probably look at

Supported countries

Country Description Documentation
Suomi - Finland Suomalaisten osoitteiden osoiteparseri


pip install addrparser

Setting up a development environment

See instructions in


Command line tool

$ addr-parse --help
Usage: addr-parse [OPTIONS] ADDRESS

  Cli tool for parsing text addresses.

  Args:     address (str): address text

  -l, --locale TEXT  Country code in two-letter ISO 3166
  --help             Show this message and exit.
$ addr-parser "Iso Maantie 12b B 7"
  "input": "Iso Maantie 12b B 7",
  "result": {
    "street_name": "Iso Maantie",
    "house_number": "12b",
    "entrance": "B",
    "apartment": "7"


>>> from addrparser import AddressParser

>>> parser = AddressParser('fi')
>>> address = parser.parse('Iso Maantie 12b B 7')
>>> address
Address(street_name='Iso Maantie', house_number='12b', entrance='B', apartment='7', post_office_box=None, zip_number=None, zip_name=None)


This project was created with inspiration from waynerv/cookiecutter-pypackage project template.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

addrparser-0.1.0.tar.gz (8.4 kB view hashes)

Uploaded source

Built Distribution

addrparser-0.1.0-py3-none-any.whl (6.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page