Delta Hydro

44 tools · Topic

Python Packages for Hydrology

Python is now the lingua franca of computational hydrology. This page indexes the packages that matter — catchment delineation, hydrograph analysis, statistics, data access and model wrappers — with install commands and honest notes on maintenance status.

ANUGA

Open Source

Open-source 2D shallow-water modelling in Python from Geoscience Australia — strong for dam break and tsunami.

Hydraulics & River SystemsActive2D Hydraulic ModellingDam Break Analysis

CaMa-Flood-GPU

Open Source

GPU reimplementation of the CaMa-Flood global river routing model — continental flood simulation on PyTorch/Triton.

Hydraulics & River SystemsActiveFlood RoutingFlood Mapping

Caravan

Open Source

The open global large-sample hydrology dataset — thousands of catchments with forcing, attributes and streamflow.

Data, Monitoring & ForecastingActiveStreamflow DataRainfall Data

FloPy

Open SourceVerified

The Python interface to MODFLOW — build, run and post-process groundwater models entirely in code.

Groundwater & HydrogeologyActiveMODFLOWGroundwater Modelling

Jupyter notebook suite for batch HEC-RAS and HEC-HMS runs — parallel execution and calibration statistics.

Hydraulics & River SystemsActiveHEC-RAS AutomationHEC-HMS

HyRiver

Open Source

A Python software stack for US hydrology data: NHD+ networks, gauges, DEMs, soils and climate via one API family.

Data, Monitoring & ForecastingActiveStreamflow DataRainfall Data

HydroMT

Open Source

Deltares' Python framework that builds ready-to-run hydrological models from global and local datasets.

Hydrology & Catchment AnalysisActivePython HydrologyDEM Processing

CUAHSI's platform for sharing hydrological data and models — DOIs, collaboration and linked compute.

Data, Monitoring & ForecastingActiveStreamflow DataPython Hydrology

NEOPRENE

Open Source

Neyman-Scott stochastic rainfall generation in Python — synthetic series and disaggregation, single or multi-site.

Climate & Change AnalysisActiveRainfall DataDesign Storms

NeuralHydrology

Open Source

Deep-learning rainfall-runoff modelling — the LSTM framework behind much of ML hydrology research.

Hydrology & Catchment AnalysisActiveStreamflow ForecastingPython Hydrology

OpenFloodHub

Open Source

An open-source take on Google Flood Hub — per-gauge neural network streamflow forecasting you can self-host.

Data, Monitoring & ForecastingActiveStreamflow ForecastingPython Hydrology

PRMS

Gov-Public

USGS Precipitation-Runoff Modeling System — distributed continuous simulation with strong snow physics.

Hydrology & Catchment AnalysisActiveSnow HydrologyPython Hydrology

Pastas

Open Source

Time-series analysis of groundwater heads in Python — transfer-function models instead of full aquifer simulation.

Groundwater & HydrogeologyActiveGroundwater ModellingPython Hydrology

PySWMM

Open SourceVerified

Python interface to the SWMM engine — step through simulations, read state, and control gates in real time.

Urban Stormwater & InfrastructureActiveSWMMPython Hydrology

Pywr

Open Source

Python water-resource network simulator — fast LP-based allocation for reservoir systems and supply networks.

Hydrology & Catchment AnalysisActiveReservoir OperationsPython Hydrology

RAS Commander

Open Source

Python automation for HEC-RAS 6.x: batch runs, parallel execution and HDF results extraction.

Hydraulics & River SystemsActiveHEC-RAS AutomationPython Hydrology

RainyDay

Open Source

Stochastic storm transposition in Python — probabilistic extreme rainfall scenarios from remote-sensing data.

Hydrology & Catchment AnalysisActiveDesign StormsFlood Frequency Analysis

Raven

Open Source

A flexible hydrological modelling framework — emulate GR4J, HBV, HMETS or build your own model structure.

Hydrology & Catchment AnalysisActiveStreamflow ForecastingPython Hydrology

RichDEM

Open Source

High-performance DEM conditioning — Priority-Flood depression filling at scale, C++ with Python bindings.

Geospatial & Hydro-GISDormantDEM ProcessingTerrain Analysis

SPOTPY

Open Source

Python toolbox for calibrating and uncertainty-analysing any environmental model — SCE-UA, DREAM, GLUE and more.

Hydrology & Catchment AnalysisStablePython Hydrology

StormHub

Open Source

Dewberry's open tool for building STAC catalogs of storms and gauge data — inputs for stochastic storm transposition.

Data, Monitoring & ForecastingActiveRainfall DataDesign Storms

TSNet

Open Source

Open-source water hammer simulation in Python — method-of-characteristics transients on EPANET networks.

Water Distribution & QualityDormantWater HammerEPANET

TimML

Open Source

Analytic element groundwater modelling in Python — multi-layer steady flow with no grid at all.

Groundwater & HydrogeologyActiveGroundwater ModellingPython Hydrology

WNTR

Open SourceVerified

Sandia/EPA's Python toolkit for water network resilience — EPANET simulation plus disaster scenarios and metrics.

Water Distribution & QualityActiveEPANETWater Distribution Modelling

WhiteboxTools

Open SourceVerified

500+ fast geospatial analysis tools with the best DEM hydrology toolkit in open source.

Geospatial & Hydro-GISActiveDEM ProcessingTerrain Analysis

Programmatic access to ERA5 and the Copernicus Climate Data Store — the world's reanalysis workhorse.

Climate & Change AnalysisActiveClimate ProjectionsRainfall Data

climate_indices

Open Source

Reference Python implementations of SPI, SPEI and Palmer indices for drought monitoring.

Climate & Change AnalysisStableDrought AnalysisPython Hydrology

delineator

Open Source

Fast global watershed delineation in Python — the MERIT-Hydro engine behind the Global Watersheds web app.

Geospatial & Hydro-GISStableWatershed DelineationPython Hydrology

geemap

Open Source

Python + Google Earth Engine without the pain — interactive mapping and analysis of petabyte-scale water data.

Geospatial & Hydro-GISActiveGoogle Earth EngineRemote Sensing

hms-commander

Open Source

Python automation for HEC-HMS — batch and parallel runs, design storms, and DSS handoff to HEC-RAS.

Hydrology & Catchment AnalysisActiveHEC-HMSPython Hydrology

hydroeval

Open Source

A tiny Python package that computes NSE, KGE and friends correctly — the metrics layer of model evaluation.

Hydrology & Catchment AnalysisStablePython Hydrology

hydrofunctions

Open Source

A friendly Python client for USGS NWIS streamflow data — request, cache and plot gauge records in a notebook.

Data, Monitoring & ForecastingStableStreamflow DataPython Hydrology

pyEMU

Open Source

Python framework for PEST/PEST++ workflows — programmatic setup, ensembles and uncertainty analysis.

Groundwater & HydrogeologyActiveGroundwater ModellingMODFLOW

pyHMT2D

Open Source

Python control and post-processing for 2D hydraulic models — SRH-2D and HEC-RAS 2D results to VTK and beyond.

Hydraulics & River SystemsStable2D Hydraulic ModellingHEC-RAS Automation

pyet

Open Source

Reference and potential evapotranspiration in Python — 20+ published methods, FAO-56 included, on pandas/xarray.

Hydrology & Catchment AnalysisActiveEvapotranspirationIrrigation

pyromb

Open Source

Build RORB, WBNM and URBS model files straight from GIS shapefiles — with companion QGIS plugins.

Hydrology & Catchment AnalysisActiveFlood RoutingQGIS Hydrology

pysheds

Open Source

Watershed delineation in pure Python — DEM conditioning to catchment boundary in a dozen lines.

Geospatial & Hydro-GISStableWatershed DelineationDEM Processing

pystorms

Open Source

Benchmark scenarios for smart-stormwater control — test real-time control algorithms on curated SWMM systems.

Urban Stormwater & InfrastructureStableSWMMPython Hydrology

rashdf

Open Source

Read HEC-RAS HDF5 geometry and results into GeoPandas/xarray — built for FEMA's flood-risk data pipelines.

Hydraulics & River SystemsActiveHEC-RAS AutomationPython Hydrology

swmm_api

Open Source

Pure-Python reading, editing and running of SWMM INP, RPT and OUT files — the full file-format toolkit.

Urban Stormwater & InfrastructureActiveSWMMPython Hydrology

swmmio

Open Source

Pandas-powered reading, editing and version-diffing of SWMM models — the model-management side of the stack.

Urban Stormwater & InfrastructureActiveSWMMPython Hydrology

swmmtoolbox

Open Source

Python CLI and library for extracting time series from SWMM binary output files.

Urban Stormwater & InfrastructureStableSWMMPython Hydrology

wradlib

Open Source

The open library for weather-radar rainfall processing — from raw volumes to engineering-ready rainfall fields.

Data, Monitoring & ForecastingActiveRainfall DataRemote Sensing

xclim

Open Source

Climate indices and bias adjustment on xarray — the operational-grade library for climate-data engineering.

Climate & Change AnalysisActiveClimate ProjectionsDrought Analysis