Quantitative Sustainable Design for sanitation and resource recovery systems
Reason this release was yanked:
broken package
Project description
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:
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.
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5a9f14a6e00ebd57739f1f8dc3be4ccfef97d9be9a8ae9b3e9a7edd43c273bc
|
|
| MD5 |
6d699d81e7bb2045bad3116bdce7b3f5
|
|
| BLAKE2b-256 |
48e2a6bd21d41563177c20e1e48d64206155da4c0ceb850043d875f5b995dc1b
|
Provenance
The following attestation bundles were made for qsdsan-1.5.1.tar.gz:
Publisher:
release.yml on QSD-Group/QSDsan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qsdsan-1.5.1.tar.gz -
Subject digest:
c5a9f14a6e00ebd57739f1f8dc3be4ccfef97d9be9a8ae9b3e9a7edd43c273bc - Sigstore transparency entry: 1604605831
- Sigstore integration time:
-
Permalink:
QSD-Group/QSDsan@bb8d32e713be11cba377cde6a62b9c6454518d3f -
Branch / Tag:
refs/tags/v1.5.1 - Owner: https://github.com/QSD-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bb8d32e713be11cba377cde6a62b9c6454518d3f -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e3ae974fbaf97fd6494f2d6604f1144f2aca16f06171a6b712136200dfddf8f
|
|
| MD5 |
bb7adf539329f36ca01ecc01127f025f
|
|
| BLAKE2b-256 |
d59be6bf821c282678f07ff1673c19c146f0b6e684032000824b18bc2fbc3518
|
Provenance
The following attestation bundles were made for qsdsan-1.5.1-py3-none-any.whl:
Publisher:
release.yml on QSD-Group/QSDsan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qsdsan-1.5.1-py3-none-any.whl -
Subject digest:
4e3ae974fbaf97fd6494f2d6604f1144f2aca16f06171a6b712136200dfddf8f - Sigstore transparency entry: 1604605914
- Sigstore integration time:
-
Permalink:
QSD-Group/QSDsan@bb8d32e713be11cba377cde6a62b9c6454518d3f -
Branch / Tag:
refs/tags/v1.5.1 - Owner: https://github.com/QSD-Group
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bb8d32e713be11cba377cde6a62b9c6454518d3f -
Trigger Event:
push
-
Statement type: