Command line script and Python library to read Storm Water Management Model binary output.
Project description
swmmtoolbox - Overview
The swmmtoolbox is a Python script to read the Storm Water Management Model (SWMM) version 5 binary output files.
Requirements
Python - of course, version 3.7+.
Installation
The swmmtoolbox is available via pip or conda.
pip
pip install swmmtoolbox
conda
conda install -c conda-forge swmmtoolbox
Usage
Command Line
Just run ‘swmmtoolbox –help’ to get a list of subcommands and options:
usage: swmmtoolbox [-h]
{about,catalog,extract,listdetail,listvariables,stdtoswmm5}
...
positional arguments:
{about,catalog,extract,listdetail,listvariables,stdtoswmm5}
about Display version number and system information.
catalog List the catalog of objects in output file.
extract Get the time series data for a particular object and
variable.
listdetail List nodes and metadata in output file.
listvariables List variables available for each type.
stdtoswmm5 Take the toolbox standard format and return SWMM5
format.
options:
-h, --help show this help message and exit
Python API
Simply import swmmtoolbox:
import swmmtoolbox
ntsd = swmmtoolbox.extract("tests/frutal.out", "node,45,Hydraulic_head")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swmmtoolbox-4.0.15.tar.gz.
File metadata
- Download URL: swmmtoolbox-4.0.15.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c511786fc2852126a23b77d9f33654a2527defb7c0a50c4fb4934a1f7c41ecc
|
|
| MD5 |
6d9c41bb4572f1547c26ec6f7ec757c0
|
|
| BLAKE2b-256 |
a4941020dc1e793e545d737b2c51f5badca632ebcc7fe44c11efc974660694ce
|
Provenance
The following attestation bundles were made for swmmtoolbox-4.0.15.tar.gz:
Publisher:
pypi-package.yml on timcera/swmmtoolbox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swmmtoolbox-4.0.15.tar.gz -
Subject digest:
7c511786fc2852126a23b77d9f33654a2527defb7c0a50c4fb4934a1f7c41ecc - Sigstore transparency entry: 207977641
- Sigstore integration time:
-
Permalink:
timcera/swmmtoolbox@2841e598460b75482f25b00285ac03662626529a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/timcera
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-package.yml@2841e598460b75482f25b00285ac03662626529a -
Trigger Event:
push
-
Statement type:
File details
Details for the file swmmtoolbox-4.0.15-py3-none-any.whl.
File metadata
- Download URL: swmmtoolbox-4.0.15-py3-none-any.whl
- Upload date:
- Size: 64.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96aa2493f91bebfd347c3486040ce9a6d3c18e34b69cb35bfec5baa324358dd2
|
|
| MD5 |
a8b6f0ce649a12aaa0fa0bcff81e879c
|
|
| BLAKE2b-256 |
153a04428d041299999d7960017294a68c2f886155be0a3bb160a4d141d31ae9
|
Provenance
The following attestation bundles were made for swmmtoolbox-4.0.15-py3-none-any.whl:
Publisher:
pypi-package.yml on timcera/swmmtoolbox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swmmtoolbox-4.0.15-py3-none-any.whl -
Subject digest:
96aa2493f91bebfd347c3486040ce9a6d3c18e34b69cb35bfec5baa324358dd2 - Sigstore transparency entry: 207977643
- Sigstore integration time:
-
Permalink:
timcera/swmmtoolbox@2841e598460b75482f25b00285ac03662626529a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/timcera
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-package.yml@2841e598460b75482f25b00285ac03662626529a -
Trigger Event:
push
-
Statement type: