swmmtoolbox


Nameswmmtoolbox JSON
Version 4.0.13 PyPI version JSON
download
home_pageNone
SummaryCommand line script and Python library to read Storm Water Management Model binary output.
upload_time2024-04-01 01:20:07
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseBSD-3-Clause
keywords time-series cli-app swmm stormwater hydrograph model simulation hydrology
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/timcera/swmmtoolbox/actions/workflows/python-package.yml/badge.svg
    :alt: Tests
    :target: https://github.com/timcera/swmmtoolbox/actions/workflows/python-package.yml
    :height: 20

.. image:: https://img.shields.io/coveralls/github/timcera/swmmtoolbox
    :alt: Test Coverage
    :target: https://coveralls.io/r/timcera/swmmtoolbox?branch=master
    :height: 20

.. image:: https://img.shields.io/pypi/v/swmmtoolbox.svg
    :alt: Latest release
    :target: https://pypi.python.org/pypi/swmmtoolbox/
    :height: 20

.. image:: https://img.shields.io/pypi/l/swmmtoolbox.svg
    :alt: BSD-3 clause license
    :target: https://pypi.python.org/pypi/swmmtoolbox/
    :height: 20

.. image:: https://img.shields.io/pypi/dd/swmmtoolbox.svg
    :alt: swmmtoolbox downloads
    :target: https://pypi.python.org/pypi/swmmtoolbox/
    :height: 20

.. image:: https://img.shields.io/pypi/pyversions/swmmtoolbox
    :alt: PyPI - Python Version
    :target: https://pypi.org/project/swmmtoolbox/
    :height: 20

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
~~~
.. code-block:: bash

    pip install swmmtoolbox

conda
~~~~~
.. code-block:: bash

    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")

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "swmmtoolbox",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "time-series, cli-app, swmm, stormwater, hydrograph, model, simulation, hydrology",
    "author": null,
    "author_email": "Tim Cera <tim@cerazone.net>",
    "download_url": "https://files.pythonhosted.org/packages/fe/b2/a904ffa5c21d6b4903a1a23b7eb8f716c3fe1d800209ae223f5f7c480ea9/swmmtoolbox-4.0.13.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/timcera/swmmtoolbox/actions/workflows/python-package.yml/badge.svg\n    :alt: Tests\n    :target: https://github.com/timcera/swmmtoolbox/actions/workflows/python-package.yml\n    :height: 20\n\n.. image:: https://img.shields.io/coveralls/github/timcera/swmmtoolbox\n    :alt: Test Coverage\n    :target: https://coveralls.io/r/timcera/swmmtoolbox?branch=master\n    :height: 20\n\n.. image:: https://img.shields.io/pypi/v/swmmtoolbox.svg\n    :alt: Latest release\n    :target: https://pypi.python.org/pypi/swmmtoolbox/\n    :height: 20\n\n.. image:: https://img.shields.io/pypi/l/swmmtoolbox.svg\n    :alt: BSD-3 clause license\n    :target: https://pypi.python.org/pypi/swmmtoolbox/\n    :height: 20\n\n.. image:: https://img.shields.io/pypi/dd/swmmtoolbox.svg\n    :alt: swmmtoolbox downloads\n    :target: https://pypi.python.org/pypi/swmmtoolbox/\n    :height: 20\n\n.. image:: https://img.shields.io/pypi/pyversions/swmmtoolbox\n    :alt: PyPI - Python Version\n    :target: https://pypi.org/project/swmmtoolbox/\n    :height: 20\n\nswmmtoolbox - Overview\n----------------------\nThe swmmtoolbox is a Python script to read the Storm Water Management Model\n(SWMM) version 5 binary output files.\n\nRequirements\n============\nPython - of course, version 3.7+.\n\nInstallation\n============\nThe swmmtoolbox is available via pip or conda.\n\npip\n~~~\n.. code-block:: bash\n\n    pip install swmmtoolbox\n\nconda\n~~~~~\n.. code-block:: bash\n\n    conda install -c conda-forge swmmtoolbox\n\nUsage\n-----\n\nCommand Line\n============\nJust run 'swmmtoolbox --help' to get a list of subcommands and options::\n\n    usage: swmmtoolbox [-h]\n                       {about,catalog,extract,listdetail,listvariables,stdtoswmm5}\n                       ...\n\n    positional arguments:\n      {about,catalog,extract,listdetail,listvariables,stdtoswmm5}\n        about               Display version number and system information.\n        catalog             List the catalog of objects in output file.\n        extract             Get the time series data for a particular object and\n                            variable.\n        listdetail          List nodes and metadata in output file.\n        listvariables       List variables available for each type.\n        stdtoswmm5          Take the toolbox standard format and return SWMM5\n                            format.\n\n    options:\n      -h, --help            show this help message and exit\n\nPython API\n==========\nSimply import swmmtoolbox::\n\n    import swmmtoolbox\n\n    ntsd = swmmtoolbox.extract(\"tests/frutal.out\", \"node,45,Hydraulic_head\")\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Command line script and Python library to read Storm Water Management Model binary output.",
    "version": "4.0.13",
    "project_urls": {
        "bitbucket": "https://bitbucket.org/timcera/swmmtoolbox/src/main/",
        "documentation": "https://timcera.bitbucket.io/swmmtoolbox/docs/index.html#swmmtoolbox-documentation",
        "github": "https://github.com/timcera/swmmtoolbox"
    },
    "split_keywords": [
        "time-series",
        " cli-app",
        " swmm",
        " stormwater",
        " hydrograph",
        " model",
        " simulation",
        " hydrology"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "69752ecc4cc274b0217deb5d563c35e37185f6658505ad83fd31d02420dbc92e",
                "md5": "17df022b13e8da35e88bb5d2ec01e010",
                "sha256": "02553ac51a128ff8b07d535a35845e84c13d172eed5a0dd90592a902fa576f11"
            },
            "downloads": -1,
            "filename": "swmmtoolbox-4.0.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "17df022b13e8da35e88bb5d2ec01e010",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 67167,
            "upload_time": "2024-04-01T01:20:10",
            "upload_time_iso_8601": "2024-04-01T01:20:10.696620Z",
            "url": "https://files.pythonhosted.org/packages/69/75/2ecc4cc274b0217deb5d563c35e37185f6658505ad83fd31d02420dbc92e/swmmtoolbox-4.0.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "feb2a904ffa5c21d6b4903a1a23b7eb8f716c3fe1d800209ae223f5f7c480ea9",
                "md5": "72155c79d9f26d4484ab6f55ed3ac6e8",
                "sha256": "68edac558464297af488f2088829a62263f7dd28545024821ccfad879cdfca79"
            },
            "downloads": -1,
            "filename": "swmmtoolbox-4.0.13.tar.gz",
            "has_sig": false,
            "md5_digest": "72155c79d9f26d4484ab6f55ed3ac6e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 1407108,
            "upload_time": "2024-04-01T01:20:07",
            "upload_time_iso_8601": "2024-04-01T01:20:07.217707Z",
            "url": "https://files.pythonhosted.org/packages/fe/b2/a904ffa5c21d6b4903a1a23b7eb8f716c3fe1d800209ae223f5f7c480ea9/swmmtoolbox-4.0.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-01 01:20:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "timcera",
    "github_project": "swmmtoolbox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "swmmtoolbox"
}
        
Elapsed time: 0.21554s