Alexander Hess
98b6830b46
- `stl()` wraps R's "stl" function in Python - STL is a decomposition method for time series
28 lines
740 B
Python
28 lines
740 B
Python
"""Source code for the urban-meal-delivery research project.
|
|
|
|
Example:
|
|
>>> import urban_meal_delivery as umd
|
|
>>> umd.__version__ != '0.0.0'
|
|
True
|
|
"""
|
|
# The config object must come before all other project-internal imports.
|
|
from urban_meal_delivery.configuration import config # isort:skip
|
|
|
|
from importlib import metadata as _metadata
|
|
|
|
from urban_meal_delivery import db
|
|
from urban_meal_delivery import forecasts
|
|
|
|
|
|
try:
|
|
_pkg_info = _metadata.metadata(__name__)
|
|
|
|
except _metadata.PackageNotFoundError: # pragma: no cover
|
|
__author__ = 'unknown'
|
|
__pkg_name__ = 'unknown'
|
|
__version__ = 'unknown'
|
|
|
|
else:
|
|
__author__ = _pkg_info['author']
|
|
__pkg_name__ = _pkg_info['name']
|
|
__version__ = _pkg_info['version']
|