Skip to content

pyswmm/swmmio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c99f39e · Feb 14, 2025
Feb 14, 2025
Jan 3, 2025
Feb 14, 2025
Apr 27, 2023
Dec 6, 2024
Aug 19, 2024
Nov 22, 2023
Dec 3, 2024
Jan 5, 2025
Jan 22, 2023
May 4, 2020
Jan 5, 2025
Apr 21, 2024
Nov 27, 2024
Jan 3, 2025
Jan 3, 2025

Repository files navigation

swmmio

v0.8.0 (2025/01/05)

Programmatic pre and post processing for EPA Stormwater Management Model (SWMM)

workflow status Documentation Status

image

Introduction

swmmio is a Python tool for engineers and hydrologists who need to supercharge their ability to modify and analyze EPA SWMM models and results. Using a familiar Pandas interface, users can replace manual procesess that used to live in spreadsheets with scripts and automation.

The core swmmio.Model object provides accessors to related elements in the INP and RPT. For example, swmmio.Model.subcatchments provides a DataFrame (or GeoDataFrame) joining data from the [SUBCATCHMENTS] and [SUBAREAS] tables in the model.inp file and, if available, the Subcatchment Runoff Summary from the model.rpt file.

Additionally, swmmio provides a lower-level API for reading and writing (almost) all of the sections of the model.inp file which is useful for programmatically modifying EPA SWMM models.

Installation

pip install swmmio

For documentation and tutorials, see our documentation.