Skip to main content

Quantitative Sustainable Design for sanitation and resource recovery systems

Reason this release was yanked:

broken package

Project description

https://img.shields.io/pypi/l/qsdsan?color=blue&logo=UIUC&style=flat https://img.shields.io/pypi/pyversions/qsdsan?style=flat https://img.shields.io/pypi/v/qsdsan?style=flat&color=blue https://zenodo.org/badge/doi/10.5281/zenodo.20256569.svg https://img.shields.io/badge/qsdsan--paper-10.1039%2Fd2ew00455k-blue?style=flat https://readthedocs.org/projects/qsdsan/badge/?version=latest https://github.com/QSD-Group/QSDsan/actions/workflows/build-coverage.yml/badge.svg?branch=main https://codecov.io/gh/QSD-Group/QSDsan/branch/main/graph/badge.svg?token=Z1CASBXEOE ./docs/source/images/custom_binder_logo.svg https://img.shields.io/endpoint?color=%23ff0000&label=YouTube%20@qsd-group&url=https%3A%2F%2Fyoutube-channel-badge-blond.vercel.app%2Fapi%2Fvideos


What is QSDsan?

QSDsan is an open-source, community-led platform for the quantitative sustainable design (QSD) [1] of sanitation and resource recovery systems [2]. Built in Python, it integrates process modeling, system simulation, techno-economic analysis (TEA), and life cycle assessment (LCA) to support transparent, reproducible, and comprehensive evaluation of emerging technologies. Leveraging BioSTEAM [3], the platform provides modular and extensible tools to compare treatment configurations, evaluate resource recovery opportunities, and assess energy, cost, and sustainability tradeoffs. These capabilities support the research, development, and deployment (RD&D) of early-stage technologies for advancing sustainable water management and circular resource recovery.

All systems developed with QSDsan are included in the package EXPOsan - exposition of sanitation and resource recovery systems.

Installation

QSDsan requires Python 3.12 or newer. The easiest way to install QSDsan is through pip in a command-line interface (e.g., terminal, PowerShell, etc.):

pip install qsdsan

To upgrade an existing installation:

pip install -U qsdsan

To install a specific version, replace X.X.X with the version number:

pip install qsdsan==X.X.X

To install the latest GitHub version from the main branch:

pip install git+https://github.com/QSD-Group/QSDsan.git

To install from another fork and/or branch, replace <USERNAME_OF_THE_FORK> and <BRANCH_NAME>:

pip install git+https://github.com/<USERNAME_OF_THE_FORK>/QSDsan.git@<BRANCH_NAME>

You can also download the package from PyPI.

To get the git version (use the depth flag to choose how many commit histories you want to clone):

git clone https://github.com/QSD-Group/QSDsan.git --depth=1

Then navigate into the repository (cd QSDsan) and install in editable mode with development dependencies:

pip install -e ".[dev]"

For diagram generation, QSDsan uses Graphviz. If diagrams fail to render, install Graphviz following the official Graphviz download instructions and see the FAQ for a quick check.

Documentation

You can find tutorials and documents at:

https://qsdsan.readthedocs.io

All tutorials are written using Jupyter Notebook, you can run your own Jupyter environment, or you can click the launch binder badge on the top to launch the environment in your browser.

Many tutorials have companion video walkthroughs on our YouTube channel. The videos were recorded against earlier versions of QSDsan and remain useful for the concepts and the big picture, but some APIs may be outdated. Refer to the notebooks for the authoritative reference for syntax and API.

Authors and Contributing

QSDsan and its related packages are developed by the Quantitative Sustainable Design Group and the broader community. Yalin Li is the currently maintainer. See commit history for contributors who have contributed to the repository.

If you want to contribute to QSDsan, please refer to the Contributing Guidelines section of the documentation for instructions and guidelines.

License Information

Please refer to the LICENSE.txt for information on the terms & conditions for usage of this software, and a DISCLAIMER OF ALL WARRANTIES.

References

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

qsdsan-1.5.1.tar.gz (628.6 kB view details)

Uploaded Source

Built Distribution

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

qsdsan-1.5.1-py3-none-any.whl (697.4 kB view details)

Uploaded Python 3

File details

Details for the file qsdsan-1.5.1.tar.gz.

File metadata

  • Download URL: qsdsan-1.5.1.tar.gz
  • Upload date:
  • Size: 628.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qsdsan-1.5.1.tar.gz
Algorithm Hash digest
SHA256 c5a9f14a6e00ebd57739f1f8dc3be4ccfef97d9be9a8ae9b3e9a7edd43c273bc
MD5 6d699d81e7bb2045bad3116bdce7b3f5
BLAKE2b-256 48e2a6bd21d41563177c20e1e48d64206155da4c0ceb850043d875f5b995dc1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for qsdsan-1.5.1.tar.gz:

Publisher: release.yml on QSD-Group/QSDsan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qsdsan-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: qsdsan-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 697.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qsdsan-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e3ae974fbaf97fd6494f2d6604f1144f2aca16f06171a6b712136200dfddf8f
MD5 bb7adf539329f36ca01ecc01127f025f
BLAKE2b-256 d59be6bf821c282678f07ff1673c19c146f0b6e684032000824b18bc2fbc3518

See more details on using hashes here.

Provenance

The following attestation bundles were made for qsdsan-1.5.1-py3-none-any.whl:

Publisher: release.yml on QSD-Group/QSDsan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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