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.1.tar.gz (30.0 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.1-py2.py3-none-any.whl (25.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: jupyterhub_usage_quotas-0.1.1.tar.gz
  • Upload date:
  • Size: 30.0 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.1.tar.gz
Algorithm Hash digest
SHA256 5dd24a6b401008adca52b9ca68865a19b95b430a570ddc6dec680f33d89702a9
MD5 b141c06031e3558a571de6ea3b622b36
BLAKE2b-256 11021484e576d1a09fe582b232444b10cac9c0001c6fb7494baffd9e94364d84

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyterhub_usage_quotas-0.1.1.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.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterhub_usage_quotas-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 08c1f951272f96e75e0f651b6cb6ec06d23c127d6df240db86b1646bdc8bd609
MD5 ba9d89148b9cd2d7bd6f6db22f28672d
BLAKE2b-256 a026526fc02d91b84f7142737c667ef063d19b77cf34bbfdaf25ae05059e1bf0

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyterhub_usage_quotas-0.1.1-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