Install & Compatibility
Where this runs
tested against v1.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 68.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 8.1s · import 0.000s · 65MB
68MB installed
● package 68MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
load_jupyter_server_extension
✓ from jupyter_resource_usage import load_jupyter_server_extension
✗ from jupyter_resource_usage import ResourceUsage
api
✓ from jupyter_resource_usage import api
config
✓ from jupyter_resource_usage import config
Fetch resource usage metrics from the Jupyter server API.
from jupyter_resource_usage import ResourceUsage
# Requires a running Jupyter server; the extension auto-activates
# To fetch current resource usage:
import requests
from notebook.auth import passwd
response = requests.get(
'http://localhost:8888/api/metrics/v1',
headers={'Authorization': 'token ' + os.environ.get('JUPYTER_TOKEN', '')}
)
print(response.json())
Upgrade
Version history
1.2.1latest on PyPI · released Mar 31, 2026
Audit
Dependencies
No dependency data recorded yet.