Skip to main content

hydropattern

Evaluate hydrologic time series against configured flow-pattern components. Designed for hydrologists and environmental scientists, hydropattern provides a command-line application and a secondary Python API.

Documentation

Start with the user documentation, then follow:

The user documentation site provides searchable guides and references.

Inputs and results

Provide a CSV or Excel file with a time column and one or more observation columns. Each observation column is a scenario, evaluated independently. A TOML file specifies components, ordered characteristic conditions, and optional output settings.

For example, a small CSV can contain a date column and one flow scenario:

time,flow
2020-01-01,0
2020-01-02,2

Results include raw timestep outcomes and component summary workbooks. Scenario grids can also produce response-surface plots. Characteristics cover timing, magnitude, duration, frequency, and rate of change. See CLI usage for output choices and working folders.

Install v0.3.1

Install the CLI with uv and Python 3.12 or newer:

uv tool install --python 3.12 hydropattern==0.3.1
uv tool update-shell
hydropattern --help

The installation guide provides platform-specific steps, a pip/virtual-environment alternative, and separate Python API installation.

To install from a source checkout, follow the source-checkout instructions.

First evaluation

Save flow.csv and first-run.toml in one folder.

Open a terminal in that folder, then execute:

hydropattern run first-run.toml --no-excel

Relative input-data paths resolve from the terminal's working folder, not the TOML file's location. No repository clone is needed for the published downloads. The command creates first-run_output/flow_sustained_flow.csv and first-run_output/sustained_flow_summary.xlsx.

The example marks two of eight fully known timesteps as component success: its total portion is 0.25. It identifies flow above 1 for at least two consecutive timesteps; isolated threshold exceedances fail duration. Configured success does not establish ecological benefit. Read the results guide before interpreting other configurations or unknown outcomes.

Scientific foundations

Natural flow regimes describe hydrologic variation relevant to ecosystems; functional flows connect that variation to environmental processes. See Poff et al. (1997), The Natural Flow Regime and Yarnell et al. (2020), A functional flows approach. Illustrative thresholds are not universal ecological criteria.

License

hydropattern is available under the GNU General Public License v3 or later.

Metadata

Release files for hydropattern 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 hydropattern 0.3.1
File Size Uploaded
hydropattern-0.3.1.tar.gz 5.5 MB Details

Built distribution (wheel)

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

Total release size: 5.6 MB

Release files / hydropattern-0.3.1.tar.gz

Download URL hydropattern-0.3.1.tar.gz
Size 5.5 MB
Tags Source
SHA-256 checksum
How to use checksums
523cc456531006ad384c515d1667e4a83937e7ded55145ed0412efec63704910
BLAKE2b-256 checksum
How to use checksums
5c66b7366693a7809de17f9521e1b0c06b9fdebd85046c1944122c6bf2c8d4ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

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

Download URL hydropattern-0.3.1-py3-none-any.whl
Size 82.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8121433636ad0c06d8b7ba4cb81b7298e35794257d4cb19a35ef8e2a84971151
BLAKE2b-256 checksum
How to use checksums
41c0fe9530753eba78a571adf3d408877e3989d6f9854793a8616252ed4a6b7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

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