project#
hydromodpy.project is the public object-oriented facade. It sits
above the layer matrix like cli: it may call lower layers, but
workflow, calibration and analysis must not import it.
Role#
The package binds workflows to a reusable project context. It owns the
Project class, read-only accessors, prepared-run state and dispatch
adapters that connect TOML workflows to project sessions.
Sub-modules#
project/facade.py–Projectclass and lifecycle entry point.project/session.py– run-phase facade withprepare,execute,ingest,render,cleanup,simulateand expert Python-onlysweep.project/runner.py– project execution wrapper.project/prepared_run.py– prepared-run primitives and active-run bookkeeping.project/accessors.py– read-only data and run accessors.project/catalog.py– project-level catalog binding.project/dispatch/– workflow and calibration adapters that keep lower layers independent fromProject.
Key public symbols#
hydromodpy.project.Projecthydromodpy.Projectthrough the root facade
ProjectSession.sweep is an expert Python API. It is not a V1 TOML
workflow and is not exposed as workflow.mode = "sweep".
Recommended reading path#
project/facade.pyfor the user-facing facade.project/session.pyfor run-phase operations.project/dispatch/workflow.pyfor the binding between workflow launchers andProject.project/runner.pyfor repeated run orchestration.
Layer-matrix neighbours#
Allowed targets:
core,schema,config,physics,data,spatial,simulation,solver,calibration,results,display,analysis,reporting,workflow,catalogandproject.Allowed sources: root facade and
cli.Lower layers must not import
project. Binding to the facade lives here or incli.
See also#
V1 Release Contract for the Python API / CLI / TOML status table.
workflow for the lower-level orchestration package.