Enforce compute usage quotas at Jupyter server launch time to proactively manage resource consumption.
Project description
JupyterHub Usage Quotas
This library implements compute usage quotas for Jupyter servers at server startup-time to manage resource consumption across shared infrastructure managed by Zero to JupyterHub with Kubernetes deployments.
Features
- Metric based accounting for compute usage with Prometheus
- Flexible and declarative usage policies, such as quota sizes and quota time windows
- Server startup-time enforcement
- User-facing storage usage dashboard (optional)
Installation
The PyPI package can be installed with
pip install jupyterhub-usage-quotas
To also install the user-facing storage usage dashboard service:
pip install "jupyterhub-usage-quotas[service]"
For local development, see the development guide
Documentation
Documentation can be found at https://jupyterhub-usage-quotas.readthedocs.io/en/latest/
Contributing
See the guidance in CONTRIBUTING
License
This project is licensed under the BSD 3-Clause License.
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 jupyterhub_usage_quotas-0.1.0.tar.gz.
File metadata
- Download URL: jupyterhub_usage_quotas-0.1.0.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b15e78234f928c2483cc5334ba8dfe4bd61583e4a99aeab6b92485f7cea3083c
|
|
| MD5 |
d6dd031e1ca8d0a0096b2ddcc7ed9fdf
|
|
| BLAKE2b-256 |
8b4adeb22d14538b93f9db024322216051901a489bbee421beb83d0ade4b9024
|
Provenance
The following attestation bundles were made for jupyterhub_usage_quotas-0.1.0.tar.gz:
Publisher:
release.yml on 2i2c-org/jupyterhub-usage-quotas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jupyterhub_usage_quotas-0.1.0.tar.gz -
Subject digest:
b15e78234f928c2483cc5334ba8dfe4bd61583e4a99aeab6b92485f7cea3083c - Sigstore transparency entry: 1393432736
- Sigstore integration time:
-
Permalink:
2i2c-org/jupyterhub-usage-quotas@a5cd1a4d37e5eaa054b6c9a3a61ce14dbcb30a48 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/2i2c-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a5cd1a4d37e5eaa054b6c9a3a61ce14dbcb30a48 -
Trigger Event:
push
-
Statement type:
File details
Details for the file jupyterhub_usage_quotas-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: jupyterhub_usage_quotas-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e220076a52d29beb84253b48592c74c4773369aac165d0af57d168c86f0009c
|
|
| MD5 |
f0b5a274da5b7d8c3f6292251ac7f033
|
|
| BLAKE2b-256 |
acd36ae55cf4d688ad176e75a2d851a03b33f5919e08ab2114a5450eb022b624
|
Provenance
The following attestation bundles were made for jupyterhub_usage_quotas-0.1.0-py2.py3-none-any.whl:
Publisher:
release.yml on 2i2c-org/jupyterhub-usage-quotas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jupyterhub_usage_quotas-0.1.0-py2.py3-none-any.whl -
Subject digest:
1e220076a52d29beb84253b48592c74c4773369aac165d0af57d168c86f0009c - Sigstore transparency entry: 1393432750
- Sigstore integration time:
-
Permalink:
2i2c-org/jupyterhub-usage-quotas@a5cd1a4d37e5eaa054b6c9a3a61ce14dbcb30a48 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/2i2c-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a5cd1a4d37e5eaa054b6c9a3a61ce14dbcb30a48 -
Trigger Event:
push
-
Statement type: