]> git.openstreetmap.org Git - nominatim.git/blob - nominatim/api/__init__.py
Merge pull request #3383 from lonvia/window-searches
[nominatim.git] / nominatim / api / __init__.py
1 # SPDX-License-Identifier: GPL-3.0-or-later
2 #
3 # This file is part of Nominatim. (https://nominatim.org)
4 #
5 # Copyright (C) 2023 by the Nominatim developer community.
6 # For a full list of authors see the git log.
7 """
8 The public interface of the Nominatim library.
9
10 Classes and functions defined in this file are considered stable. Always
11 import from this file, not from the source files directly.
12 """
13
14 # See also https://github.com/PyCQA/pylint/issues/6006
15 # pylint: disable=useless-import-alias
16
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,
22                     OsmID as OsmID,
23                     PlaceRef as PlaceRef,
24                     Point as Point,
25                     Bbox as Bbox,
26                     GeometryFormat as GeometryFormat,
27                     DataLayer as DataLayer)
28 from .results import (SourceTable as SourceTable,
29                       AddressLine as AddressLine,
30                       AddressLines as AddressLines,
31                       WordInfo as WordInfo,
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)