• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mthh / routingpy / 19018276231

02 Nov 2025 09:17PM UTC coverage: 88.943%. First build
19018276231

Pull #150

github

web-flow
Merge e90838d9f into eb20b436a
Pull Request #150: feat: add geotiff support valhalla isochrones

9 of 9 new or added lines in 1 file covered. (100.0%)

1649 of 1854 relevant lines covered (88.94%)

0.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/routingpy/__init__.py
1
# -*- coding: utf-8 -*-
2
# Copyright (C) 2021 GIS OPS UG
3
#
4
#
5
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
6
# use this file except in compliance with the License. You may obtain a copy of
7
# the License at
8
#
9
#     http://www.apache.org/licenses/LICENSE-2.0
10
#
11
# Unless required by applicable law or agreed to in writing, software
12
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
# License for the specific language governing permissions and limitations under
15
# the License.
16
#
17
"""
18
**routingpy** is a Python 3 client for a lot of popular web routing services.
19

20
Using **routingpy** you can easily request **directions**, **isochrones** and
21
**matrices** from many reliable online providers in a consistent fashion. Base parameters
22
are the same for all services, while still preserving each service's special parameters (for
23
more info, please look at our `README`_).
24
Take a look at our `Examples`_ to see how simple you can compare routes from different providers.
25

26
**routingpy** is tested against CPython 3.9, 3.10, 3.11, 3.12 and 3.13 and PyPy3 version 3.9 and 3.10.
27

28
.. _`README`: https://github.com/mthh/routingpy#api
29
.. _`Examples`: https://github.com/mthh/routingpy#examples
30
"""
31

32
try:
1✔
33
    import importlib.metadata
1✔
34

35
    try:
1✔
36
        __version__ = importlib.metadata.version("routingpy")
1✔
37
    except importlib.metadata.PackageNotFoundError:
×
38
        __version__ = None
×
39
except ImportError:
×
40
    # Fallback for Python < 3.8,
41
    # even though routingpy requires Python 3.9+
42
    __version__ = None
×
43

44
from .routers import *  # noqa: F401
1✔
45

46
# Delete so options is only available over routingpy.routers.options
47
del options  # noqa: F821
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc