Skip to main content

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
  • Quota enforcement at server startup-time
  • User-facing usage and quota dashboard (optional)

Screenshot of usage and quota dashboard viewer

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


Download files

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

Source Distribution

jupyterhub_usage_quotas-0.1.2.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

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

jupyterhub_usage_quotas-0.1.2-py2.py3-none-any.whl (28.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file jupyterhub_usage_quotas-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for jupyterhub_usage_quotas-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c6b795fad35b5b7706175322f8259d5fd5fa4fc0f97a935d52daba69a034274e
MD5 870be1ccd0e5a32436e5e73fbc2dc406
BLAKE2b-256 670fcd05f8bca4a8b0d56c40806b0f8bc636b2c04d6b632d3f2c97e39b63a133

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyterhub_usage_quotas-0.1.2.tar.gz:

Publisher: release.yml on 2i2c-org/jupyterhub-usage-quotas

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

File details

Details for the file jupyterhub_usage_quotas-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterhub_usage_quotas-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 950ef7ba51a81a043fc7b0bdd68eb4c8637aca48ec23d2ea5c1f846d2c55c26a
MD5 2f037c0f00bb3e05a943a89fbf367736
BLAKE2b-256 46d482ce31dcf3192e28f032883e6f3aac8e2dbfb68e54fb24a0237aa3cf4b0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyterhub_usage_quotas-0.1.2-py2.py3-none-any.whl:

Publisher: release.yml on 2i2c-org/jupyterhub-usage-quotas

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