Files
Mileage-Logger/mileage_logger/distance/__init__.py

12 lines
475 B
Python

"""Distance resolution utilities.
This subpackage exposes classes and functions that resolve driving
distances between pairs of recognised sites. The primary
implementation is :class:`DistanceResolver`, which first consults a
pre-defined route catalogue before optionally consulting an external
API and finally falling back to a simple geodesic calculation.
"""
from .resolve import DistanceResolver, haversine_distance
__all__ = ["DistanceResolver", "haversine_distance"]