OWA SWMM Python Toolkit
Reason this release was yanked:
Superceded by v0.8.1
Project description
swmm-toolkit
swmm-toolkit contains SWIG generated Python wrappers for the swmm-solver and swmm-output libraries.
Features
swmm-toolkit makes SWMM a fully fledged Python extension with:
- Python integration at the speed of C
- Full access to library APIs
- Pythonic naming, enums, exceptions, and return value handling
Installation
Build
- Initialize submodule
git submodule init
git submodule update
- Create virtual environment
pip installfrom requirements.txtpython setup.py build
Troubleshoot
Steps to try if python setup.py build fails
Establish working swmm-solver build
- Create an environment variable
BOOST_ROOT_1_67_0and set the variable to boost install location - Confirm swmm-solver directory is initialized
- Confirm swmm-solver build is working
cd swmm-solver
mkdir buildprod
cd buildprod
cmake -G "Visual Studio 14 2015 Win64" ..
cmake --build . --config Release --target install
Basic Usage
Run a SWMM simulation.
from swmm.toolkit import solver
solver.run('input_file.inp', 'report_file.rpt', 'output_file.out')
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 Distributions
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 swmm-toolkit-0.8.0.tar.gz.
File metadata
- Download URL: swmm-toolkit-0.8.0.tar.gz
- Upload date:
- Size: 528.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22b998d8457b474712cdfacd1efcdcb28ff11ccda8aaa080336769617a7ef0b4
|
|
| MD5 |
8471eea0226adb28868f5f6cfc6cce47
|
|
| BLAKE2b-256 |
a1883bc3572c5e2f40629610a8f91646e08cc9cbcf70abf06895fca16cc2c21c
|
File details
Details for the file swmm_toolkit-0.8.0-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 906.2 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da29ef09d1659b32690dbc276f5ea2bf0a49b2b9820c93d91d388ba0226a76d9
|
|
| MD5 |
2234f1cb1f05a7fbe7cf5541de27eba7
|
|
| BLAKE2b-256 |
1a8e2208e926c235c10efe352d61065a565e49e19582e746f0eb6abd428ab541
|
File details
Details for the file swmm_toolkit-0.8.0-cp38-cp38-manylinux2014_x86_64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 501.5 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c7eea8e08713bba5dfededfb35f85f6236e7fe8659ee88cd7e01657de035f96
|
|
| MD5 |
f4a0bd1fe4c704d50c6368b78e81b03f
|
|
| BLAKE2b-256 |
adf37d5f7f8198e8a5b77df5c3fd39260be7c482b8dbd0e4477e559a608f4513
|
File details
Details for the file swmm_toolkit-0.8.0-cp38-cp38-macosx_10_10_x86_64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp38-cp38-macosx_10_10_x86_64.whl
- Upload date:
- Size: 560.8 kB
- Tags: CPython 3.8, macOS 10.10+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf1fc7928646554a90cbca1f9f419107d467852b4980962046d36cb466890fbc
|
|
| MD5 |
54a619e0bee39f017f51600b041e1657
|
|
| BLAKE2b-256 |
5fa79d519805e0763d7e29ea426abf1e4e4c03c712659ffe75345aa7078946af
|
File details
Details for the file swmm_toolkit-0.8.0-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 906.3 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cffd768660ea907767d61c9b07e85a0b660bf2f780e7dec2a8ebe607f1f55db3
|
|
| MD5 |
c57390c520089220ff5b42ecef920f82
|
|
| BLAKE2b-256 |
1ffadead1991c9dd7bf58fc0f2ff74d88a9234ddf2909232df525bd248ee3e6b
|
File details
Details for the file swmm_toolkit-0.8.0-cp37-cp37m-manylinux2014_x86_64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 501.0 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f00926e4b58e9dde4a1e195dff4273d7c0b862e0d650ea61f291c8cbbf09c7e7
|
|
| MD5 |
939bc6e191b4e86cd7484ac25ee9e615
|
|
| BLAKE2b-256 |
e4b7956ba7dfbdcbe8a8ae3e76421ee7daf3c87203ab0dcd14474dfca2bc16b7
|
File details
Details for the file swmm_toolkit-0.8.0-cp37-cp37m-macosx_10_10_x86_64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp37-cp37m-macosx_10_10_x86_64.whl
- Upload date:
- Size: 560.3 kB
- Tags: CPython 3.7m, macOS 10.10+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdbbd7b59e445c39a14b6cf8e3312a3ed5f5eadfe841a63a0eb54e79015d69cb
|
|
| MD5 |
9377e980a63e2b22a8495c4a2beb079d
|
|
| BLAKE2b-256 |
07d90980bca1a2d4714aae4b24ed06e9fee3987bcd12d9f397288b25cc48df3c
|
File details
Details for the file swmm_toolkit-0.8.0-cp36-cp36m-win_amd64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 906.3 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b17b5da193aacc7c9a99cb4eb8f046c60b118da5fe2501d530a300b0b4fb655
|
|
| MD5 |
d2108ce24e04aaa25060e042e39f9975
|
|
| BLAKE2b-256 |
94dfc891e413a100c163f1c25c23e2b612aa08752e025aee1e90506cdb6f683e
|
File details
Details for the file swmm_toolkit-0.8.0-cp36-cp36m-manylinux2014_x86_64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp36-cp36m-manylinux2014_x86_64.whl
- Upload date:
- Size: 501.0 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fdc6d784728cdc401f2a504374f1366e05c5abf55aff33c1bd6d911fdc8867c
|
|
| MD5 |
bb52631d368cb386a633fac04415cd62
|
|
| BLAKE2b-256 |
ebac64d37eae848a505ef1432689ee360fbf3dd73b67481c099b92196c9f1f23
|
File details
Details for the file swmm_toolkit-0.8.0-cp36-cp36m-macosx_10_10_x86_64.whl.
File metadata
- Download URL: swmm_toolkit-0.8.0-cp36-cp36m-macosx_10_10_x86_64.whl
- Upload date:
- Size: 560.3 kB
- Tags: CPython 3.6m, macOS 10.10+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8fea47c3ebc586abd17c8d34560d78a5a3003667d115100ecda8cb255bef9ec
|
|
| MD5 |
3e371d33458acdfd98161072d37e3e30
|
|
| BLAKE2b-256 |
222a9af428f80501491925563e5a8dfdd8e066268332bb07a5735afa06784cdc
|