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
  • 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


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.0.tar.gz (27.9 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.0-py2.py3-none-any.whl (18.5 kB view details)

Uploaded Python 2Python 3

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

Hashes for jupyterhub_usage_quotas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b15e78234f928c2483cc5334ba8dfe4bd61583e4a99aeab6b92485f7cea3083c
MD5 d6dd031e1ca8d0a0096b2ddcc7ed9fdf
BLAKE2b-256 8b4adeb22d14538b93f9db024322216051901a489bbee421beb83d0ade4b9024

See more details on using hashes here.

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

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.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterhub_usage_quotas-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1e220076a52d29beb84253b48592c74c4773369aac165d0af57d168c86f0009c
MD5 f0b5a274da5b7d8c3f6292251ac7f033
BLAKE2b-256 acd36ae55cf4d688ad176e75a2d851a03b33f5919e08ab2114a5450eb022b624

See more details on using hashes here.

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

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