A Jupyter Server extension that accesses and modifies the settings dictionary.
Project description
Content
jupyter_cpu_alive is a jupyter server extension that updates the server's api_last_activity based on CPU usage. This is useful to keep the server alive so it is not culled when running inside jupyterhub.
Install
Install with pip install jupyter_cpu_alive.
Then run jupyterlab.
The extension is configured with two environment variables:
JUPYTER_CPU_ALIVE_PERCENT_MINdefines the minimum CPU activity, above which the CPU is considered active. The default is 70%.JUPYTER_CPU_ALIVE_INTERVALgives the interval in second for checking for activity and updating theapi_last_activity. The default is 5 min
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyter_cpu_alive-0.1.6.tar.gz.
File metadata
- Download URL: jupyter_cpu_alive-0.1.6.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4e5ed9ae398bade31e2986e6ac860f4ad7b3afd2af89f4d0a66ea595f6f8e79
|
|
| MD5 |
cedb12190ff0ecde8169bf90f2ef1b23
|
|
| BLAKE2b-256 |
e7d16e999375c3a607cfbc4e4ce2e32d0b7a7a0ef108eef4d685be844fe0ad36
|
Provenance
The following attestation bundles were made for jupyter_cpu_alive-0.1.6.tar.gz:
Publisher:
publish-to-pypi.yml on zoghbi-a/jupyter_cpu_alive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jupyter_cpu_alive-0.1.6.tar.gz -
Subject digest:
e4e5ed9ae398bade31e2986e6ac860f4ad7b3afd2af89f4d0a66ea595f6f8e79 - Sigstore transparency entry: 701278685
- Sigstore integration time:
-
Permalink:
zoghbi-a/jupyter_cpu_alive@03f45960614506a0d9ac39282a0f65b81bd32d27 -
Branch / Tag:
refs/tags/0.1.6 - Owner: https://github.com/zoghbi-a
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@03f45960614506a0d9ac39282a0f65b81bd32d27 -
Trigger Event:
release
-
Statement type:
File details
Details for the file jupyter_cpu_alive-0.1.6-py2.py3-none-any.whl.
File metadata
- Download URL: jupyter_cpu_alive-0.1.6-py2.py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86b95f1d69e7a5604b849b3f8d167f171f5f235a532918e1653815ce7b9e100e
|
|
| MD5 |
eed0ea545ca095f386a9c2c31c7d281c
|
|
| BLAKE2b-256 |
facbee7e96f2f63fa110d2c893c927ebb65b1b4553d7336ed0cf86cbc862f55c
|
Provenance
The following attestation bundles were made for jupyter_cpu_alive-0.1.6-py2.py3-none-any.whl:
Publisher:
publish-to-pypi.yml on zoghbi-a/jupyter_cpu_alive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jupyter_cpu_alive-0.1.6-py2.py3-none-any.whl -
Subject digest:
86b95f1d69e7a5604b849b3f8d167f171f5f235a532918e1653815ce7b9e100e - Sigstore transparency entry: 701278719
- Sigstore integration time:
-
Permalink:
zoghbi-a/jupyter_cpu_alive@03f45960614506a0d9ac39282a0f65b81bd32d27 -
Branch / Tag:
refs/tags/0.1.6 - Owner: https://github.com/zoghbi-a
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@03f45960614506a0d9ac39282a0f65b81bd32d27 -
Trigger Event:
release
-
Statement type: