API Reference#
The API reference is generated automatically from docstrings via
autosummary :recursive:. Every public subpackage is walked top-down
and each public class, function, and module gets its own page under
api/generated/.
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 workspaces. |
|
Compare two simulations by id or result object. |
|
Render the HTML report for a calibration session. |
|
Apply |
|
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). Their listings are recursive: every public class, function, and submodule gets its own generated page.
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; click through to a module to read its direct members.
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. |