Skip to main content

Python wrapper for SWAP hydrological model.

Project description

pySWAP - Python wraper for SWAP hydrological model

CD CI Docs codecov pypi downloads Binder DOI

pySWAP is a Python wrapper (not Python implementation) for the SWAP hydrological model (link to the model website). It simplifies the creation of input files, execution of the SWAP model, and analysis and visualization of results. Users can set up and document their models in Jupyter notebooks, enhancing transparency, collaboration, and facilitating community-supported debugging.

Contributing

pySWAP is in the early stages of development so any contributions are highly encouraged. You can open issues, submit pull requests, or initiate discussions on GitHub. For more details on how you can contribute, visit the CONTRIBUTE section and get involved!

Help

Consult pySWAP documentation page for detailed instructions.

Installation

The easiest way to install the package is through pip:

pip install pyswap

You can also clone the repository from github:

git clone --recurse-submodules https://github.com/zawadzkim/pySWAP.git

Notice, that there is the recurse-submodules flag that makes sure additional libraries are also cloned.

Docker

For consistent execution across different systems, you can use Docker:

docker build -t pyswap .
docker run -it --rm -v "$PWD":/workspace pyswap
python your-script.py

For detailed Docker instructions, see the Docker documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyswap-0.3.3.tar.gz (413.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyswap-0.3.3-py3-none-any.whl (500.5 kB view details)

Uploaded Python 3

File details

Details for the file pyswap-0.3.3.tar.gz.

File metadata

  • Download URL: pyswap-0.3.3.tar.gz
  • Upload date:
  • Size: 413.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for pyswap-0.3.3.tar.gz
Algorithm Hash digest
SHA256 4b2ef020007ea20997175cd56b3d48b2cee970b5a1e675c8af7747eaab4ed211
MD5 76fa4aeab92824878256245cc34ba42d
BLAKE2b-256 cd58d88bb4b22c7f410b6d174c54372921fcf0f19f2205181874d31cb2963294

See more details on using hashes here.

File details

Details for the file pyswap-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pyswap-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 500.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for pyswap-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cfc92c76a09a332a27c897604cba7edc429a21570d6e8a80bf53c783eb149a02
MD5 bb80d01521123e6fc9dfe4355874c007
BLAKE2b-256 efe2c86aa5fef54d56f428679df0685ae858e5b935b4490f6da6028ef534f2a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page