WQSurrogateModels
wqsurrogatemodels is the installable Python backend for WQI5-based current-state
water quality assessment.
Install
pip install wqsurrogatemodels
The package requires Python 3.10 or newer. Optional surrogate-model libraries are available with:
pip install "wqsurrogatemodels[models]"
Use the direct WQI5 baseline
from wqsurrogatemodels import direct_wqi5_score
score = direct_wqi5_score(do=7.2, bod=2.1, nh3n=0.3, ec=450, ss=12)
Run the API
uvicorn wqsurrogatemodels.api:app --host 0.0.0.0 --port 8001
The primary HTTP contract is under /api/v2/*. Datasets and trained surrogate
artifacts are supplied separately and are not included in the PyPI distribution.
Set PROJECT_ROOT to the directory containing local data/ and models/
directories when running the API outside a source checkout.
Package boundary
The distribution contains the runtime package, dependency metadata, this description, and the Apache 2.0 license. It excludes research datasets, serialized model binaries, generated results, experiment configurations, reproducibility scripts, repository-only tests, and research documentation.
Repository and API documentation: https://github.com/KageRyo/WQSurrogateModels
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 wqsurrogatemodels-2.2.0.tar.gz.
File metadata
- Download URL: wqsurrogatemodels-2.2.0.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af72a4848520007723dc714cbcecd70d119d001919b11123b9b27c0fb2b6637d
|
|
| MD5 |
bcddade45ca0cc83a01ef8966e8d64f7
|
|
| BLAKE2b-256 |
0f26a483dab3920367b027681a12fc9dce25d7bec1feabb16d4ff1a9f3c623c2
|
Provenance
The following attestation bundles were made for wqsurrogatemodels-2.2.0.tar.gz:
Publisher:
release.yml on KageRyo/WQSurrogateModels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wqsurrogatemodels-2.2.0.tar.gz -
Subject digest:
af72a4848520007723dc714cbcecd70d119d001919b11123b9b27c0fb2b6637d - Sigstore transparency entry: 2514639270
- Sigstore integration time:
-
Permalink:
KageRyo/WQSurrogateModels@30078e2a11c126029ec0a4bde1b716b849a52367 -
Branch / Tag:
refs/tags/WQSurrogateModels-v2.2.0 - Owner: https://github.com/KageRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@30078e2a11c126029ec0a4bde1b716b849a52367 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wqsurrogatemodels-2.2.0-py3-none-any.whl.
File metadata
- Download URL: wqsurrogatemodels-2.2.0-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8beb596104fb5de5504d7366be5d585a28749eb1196ecb6afb293a32c72710a
|
|
| MD5 |
a2e63c803eb6a7efaeb0df4a901e8f8d
|
|
| BLAKE2b-256 |
b2e1094f99e0b37d8bf98ddf7758a1d6af7e1032f788c34fd49bac379571da3e
|
Provenance
The following attestation bundles were made for wqsurrogatemodels-2.2.0-py3-none-any.whl:
Publisher:
release.yml on KageRyo/WQSurrogateModels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wqsurrogatemodels-2.2.0-py3-none-any.whl -
Subject digest:
e8beb596104fb5de5504d7366be5d585a28749eb1196ecb6afb293a32c72710a - Sigstore transparency entry: 2514639276
- Sigstore integration time:
-
Permalink:
KageRyo/WQSurrogateModels@30078e2a11c126029ec0a4bde1b716b849a52367 -
Branch / Tag:
refs/tags/WQSurrogateModels-v2.2.0 - Owner: https://github.com/KageRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@30078e2a11c126029ec0a4bde1b716b849a52367 -
Trigger Event:
release
-
Statement type: