swmm_api
Pure-Python reading, editing and running of SWMM INP, RPT and OUT files — the full file-format toolkit.
Python interface to the SWMM engine — step through simulations, read state, and control gates in real time.
by Open Water Analytics
Install
pip install pyswmmPySWMM, maintained under the Open Water Analytics community, wraps the SWMM5 engine in Python with an API that goes far beyond batch running: you can step the simulation one timestep at a time, read node and link state mid-run, and change control settings on the fly — which is exactly what real-time-control research and smart-stormwater pilots need.
It also serves the everyday cases: parameter sweeps, calibration loops, results extraction into pandas. If SWMM is in your workflow and Python is in your toolkit, PySWMM is the connection between them.
Open-source Python packages that cover the flood workflow — from DEM to inundation map.
The public-domain urban drainage engine and everything that grew around it.
Ranked by the topics, categories and workflow stages they share with PySWMM.
Pure-Python reading, editing and running of SWMM INP, RPT and OUT files — the full file-format toolkit.
Storm and foul water drainage design and 1D hydraulic modelling software for UK and Irish civil engineers.
EPA's toolbox for sanitary sewer overflow planning — RDII analysis with the SWMM engine underneath.
The public-domain engine of urban drainage: dynamic-wave pipe networks, runoff, LID and water quality.
Browser-based urban stormwater and drainage modeling powered by OpenSWMM 6 compiled to WebAssembly.
MATLAB (and Python/LabVIEW) co-simulation with SWMM — built for real-time control research.