hydromodpy.core.toml_io#
TOML I/O and path-resolution helpers shared by every config layer.
Hosts the round-trip TOML loader/writer pair, the commented template generator driven by Pydantic introspection, and the path-resolution primitives used by config-aware modules.
Layer rule: this sub-package may import only the standard library,
tomllib / tomli_w / tomlkit / pydantic, and
hydromodpy.core.*.
Modules
Description lookup for commented TOML mapping exports. |
|
Protocol decoupling the TOML generator from physics/spatial. |
|
Map Pydantic |
|
Auto-generate commented TOML templates from Pydantic models. |
|
Round-trip TOML helpers powered by |
|
TOML loading helpers with optional hierarchical |
|
TOML payload merge helpers. |
|
Helpers to resolve config-declared paths and traverse TOML payloads. |
|
TOML writing helpers backed by tomli-w. |