PySWMM
Python interface to the SWMM engine — step through simulations, read state, and control gates in real time.
Pure-Python reading, editing and running of SWMM INP, RPT and OUT files — the full file-format toolkit.
Install
pip install swmm-apiswmm_api, by Markus Pichler (TU Graz), covers the complete SWMM file surface in Python: parse and programmatically edit input files with every section typed, run the engine, and read both the report and binary output files back into pandas. Where PySWMM wraps the running engine, swmm_api treats the files themselves as first-class objects — which is exactly what bulk model refactoring, format conversion and reproducible model generation need.
It overlaps swmmio in spirit but goes deeper on INP fidelity (round-tripping models without losing sections), and its European user base has grown steadily. MIT-licensed, well documented, actively maintained.
Ranked by the topics, categories and workflow stages they share with swmm_api.
Python interface to the SWMM engine — step through simulations, read state, and control gates in real time.
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.
MATLAB (and Python/LabVIEW) co-simulation with SWMM — built for real-time control research.
Benchmark scenarios for smart-stormwater control — test real-time control algorithms on curated SWMM systems.
Pandas-powered reading, editing and version-diffing of SWMM models — the model-management side of the stack.