1 # SPDX-License-Identifier: GPL-3.0-or-later
3 # This file is part of Nominatim. (https://nominatim.org)
5 # Copyright (C) 2023 by the Nominatim developer community.
6 # For a full list of authors see the git log.
8 The public interface of the Nominatim library.
10 Classes and functions defined in this file are considered stable. Always
11 import from this file, not from the source files directly.
14 # See also https://github.com/PyCQA/pylint/issues/6006
15 # pylint: disable=useless-import-alias
17 from .core import (NominatimAPI as NominatimAPI,
18 NominatimAPIAsync as NominatimAPIAsync)
19 from .connection import (SearchConnection as SearchConnection)
20 from .status import (StatusResult as StatusResult)
21 from .types import (PlaceID as PlaceID,
26 GeometryFormat as GeometryFormat,
27 DataLayer as DataLayer)
28 from .results import (SourceTable as SourceTable,
29 AddressLine as AddressLine,
30 AddressLines as AddressLines,
32 WordInfos as WordInfos,
33 DetailedResult as DetailedResult,
34 ReverseResult as ReverseResult,
35 ReverseResults as ReverseResults,
36 SearchResult as SearchResult,
37 SearchResults as SearchResults)
38 from .localization import (Locales as Locales)