hmp.doctor#
Lightweight environment diagnostic. Returns a dict describing Python, HydroModPy, optional packages, and solver executables. No solver is invoked.
Signature#
hmp.doctor() -> dict
Reference#
- hydromodpy.doctor()[source]
Lightweight environment diagnostic.
Returns a dict describing Python, hydromodpy, and solver versions. Quick by design (no actual solver invocation) and safe to call at import probing time.
- Return type:
Returns#
- dict
Diagnostic payload with Python, HydroModPy, optional package, and solver executable information.
Examples#
>>> import hydromodpy as hmp >>> hmp.doctor()["hydromodpy"]
Example#
import hydromodpy as hmp
info = hmp.doctor()
print(info["hydromodpy"])
print(info["solvers"])
See Also#
hydromodpy.core.version– HydroModPy version string.