doctor#

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:

dict

Returns#

dict

Diagnostic payload with Python, HydroModPy, optional package, and solver executable information.

Examples#

>>> import hydromodpy as hmp
>>> hmp.doctor()["hydromodpy"]