Skip to main content

mHM Tools

mHM-Tools is a toolbox to pre- and post-process data for and from the mesoscale Hydrologic Model (mHM). Everything is available as the command line tool mhm-tools and as a Python API.

As of version 0.3 it covers three main use cases:

  1. Delineate a catchment and create a local mHM setup from a larger existing setup.
  2. Create an mHM setup from raw data.
  3. Evaluate your mHM runs against river discharge, evapotranspiration, soil moisture, snow or total water storage anomalies.

Installation

$ pip install mhm-tools

To install from a source checkout into a clean conda environment, which nothing else in your shell interferes with (e.g. on an HPC system or to test a release), use the install script. It creates the environment if needed, ignores PYTHONPATH, the user site-packages and pip settings, and checks the result:

$ scripts/install_mhm_tools.sh /path/to/envs/mhm-tools [--editable] [--extras test,doc] [--python 3.11]
$ conda activate /path/to/envs/mhm-tools

For a first overview how to run the model you can use the help function of the CLI:

$ mhm-tools -h

or the interactive terminal user interface (TUI)

$ mhm-tools tui

Documentation and source code

License

LGPLv3, Copyright © 2026, the mHM-Tools developers from Helmholtz-Zentrum für Umweltforschung GmbH - UFZ. All rights reserved.

Metadata

Release files for mhm-tools 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mhm-tools 0.3.1
File Size Uploaded Provenance Actions
mhm_tools-0.3.1.tar.gz 1.2 MB Without provenance Details for mhm_tools-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mhm-tools 0.3.1
File Interpreter ABI Platform Actions
mhm_tools-0.3.1-py3-none-any.whl Python 3 none any Details for mhm_tools-0.3.1-py3-none-any.whl

Total release size: 1.8 MB

Release files / mhm_tools-0.3.1.tar.gz

Download URL mhm_tools-0.3.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
1d2af022fc73b1a5f2afb057c650121cfd6196955312f0d02cecaf9fae742fc2
BLAKE2b-256 checksum
How to use checksums
28401e5353968294c762c9342dfb89aba677dc3e0ea304ab0f5d5fb27a463e76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / mhm_tools-0.3.1-py3-none-any.whl

Download URL mhm_tools-0.3.1-py3-none-any.whl
Size 525.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f48b0435c06d936567ce63c215e802142814cf7106bffa5075f0864448474f5e
BLAKE2b-256 checksum
How to use checksums
200015d142606974e9fdbce2221b658c547ce96113074c3e569d248c180c14d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for mhm-tools 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page