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.0b1.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.0b1-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.0b1.tar.gz.

File metadata

File hashes

Hashes for jupyterhub_usage_quotas-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 21db3c8f6a03e5e73f11ec172bb7791c653c0d2ce536976f7731e3b21b0a24be
MD5 eada09f22cf4dd5aeef32c3399fe4bc1
BLAKE2b-256 3e24d6a097c89b03d8b9f1257f5b636ac4ce9d76542da7b79e7fca591f26295f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for jupyterhub_usage_quotas-0.1.0b1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f0c9cd83e695aeaa62b9afc5d89f90e9d0c7a4ee631317a37cc81446b307018
MD5 1b641b1f18f7b5efbd2c38734dccd93c
BLAKE2b-256 e345dc00b080f1771e4c0a7660615a9d1d598f1ba5861c3aef04d0be10aa6412

See more details on using hashes here.

Provenance

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