API Reference#
The API reference is generated automatically from docstrings via
autosummary. It documents the public facade and the top level of each
subpackage, one page each, under api/generated/.
It is deliberately not recursive. Recursing produced 1290 pages of which 11 rendered a single Python object, and those empty pages dominated the site search. Reference material with a declared contract lives where the contract lives: TOML configuration in Configuration overview, command-line verbs in CLI reference, the supported Python verbs in Python API. To read a submodule, follow the source link on its parent page.
Top-level facade functions live under hydromodpy. The Pydantic
configuration root lives under hydromodpy.config. Domain layers
(data, solver, calibration, …) follow the architecture
matrix documented in Architecture and Developer Guide.
Public facade#
The single supported import path is import hydromodpy as hmp. The
V1 facade re-exports the verbs and helpers below from
hydromodpy._api. For the structural contracts and the field
registry, see Protocols and public contracts.
Open a HydroModPy project catalog. |
|
Read a variable from a simulation Run with storage-kind auto-dispatch. |
|
Export a variable from a simulation to a standalone file. |
|
Run a HydroModPy workflow from Python. |
|
Run a calibration workflow from a TOML file or config object. |
|
Open the machine-wide global index that federates registered projects. |
|
Compare two simulations by id or result object. |
|
Render the HTML report for a calibration session. |
|
Configure PROJ environment variables for the active interpreter. |
|
Lightweight environment diagnostic. |
Public subpackages#
These subpackages expose stable, user-facing APIs (configuration root, project catalog, run facade, display registry, calibration helpers). Each gets one page carrying its module docstring and a summary of its direct members.
Application-level configuration API. |
|
Result storage for HydroModPy simulations (DuckDB + Zarr). |
|
Solver-agnostic figure rendering for HydroModPy simulations. |
|
Calibration sub-system. |
|
|
|
Public |
Internal subpackages#
These subpackages are exposed for contributors extending HydroModPy. They follow the strict layered architecture documented in Architecture and Developer Guide. Listings are not recursive; read the layer matrix and the source rather than expecting a page per module.
Analysis layer for HydroModPy. |
|
Core infrastructure layer for HydroModPy. |
|
Public API for HydroModPy data loading and planning. |
|
Discretization primitives shared by solver backends. |
|
Public process namespace. |
|
Reporting layer for HydroModPy. |
|
Frontend hooks: JSON Schema export + partial field validator. |
|
Simulation orchestration models and planning helpers. |
|
Spatial layer for HydroModPy. |
|
Composable workflow layer for HydroModPy simulation pipelines. |