hydromodpy.core.version#
Canonical source of the HydroModPy version string.
The runtime resolves __version__ in this order:
importlib.metadata.version("hydromodpy")- the authoritative answer once the package is installed (wheel / editable install).pyproject.tomlparsed withtomllib- used when HydroModPy is imported straight from a source checkout beforepip install -e ..A hard-coded development fallback, kept in sync with
pyproject.toml.
Keeping the logic here (rather than inline in hydromodpy/__init__.py)
lets tooling and documentation import it without triggering the package’s
heavier bootstrap side effects.