libpostal-sys 0.1.1

Low-level wrappers for libpostal address normalization (with locks to support thread-safe initialization)
Documentation
1
2
3
4
5
6
7
8
9
import os

this_dir = os.path.realpath(os.path.dirname(__file__))

GEONAMES_DB_NAME = 'geonames.db'

DEFAULT_GEONAMES_DB_PATH = os.path.join(this_dir, os.path.pardir,
                                        os.path.pardir, os.path.pardir,
                                        'data', 'geonames', GEONAMES_DB_NAME)