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

13 lines
539 B
Python

"""Business logic for detecting work itineraries.
This package exposes functions used to interpret a chronologically
ordered list of :class:`PlaceVisit` objects and reduce them into a
sequence of 'hops' between recognised work locations. Recognition is
driven by a site configuration file (YAML) that defines canonical
names, friendly labels, optional aliases and geofences for each
location.
"""
from .detect_itinerary import SiteConfig, SiteEntry, Hop, detect_itinerary
__all__ = ["SiteConfig", "SiteEntry", "Hop", "detect_itinerary"]