Culler for JupyterHub
Project description
SwanCuller
JupyterHub service that checks and cleans user sessions. It also calls bash scripts to check/renew kerberos tokens for the users, if their sessions still exist, or remove them if not in use.
Requirements
This module requires and installs Tornado.
Installation
Install the package:
pip install swanculler
Usage
Call the binary and specify configuration parameters:
swanculler --cull_every=600
Configuration parameters:
- url: The JupyterHub API URL (default=$JUPYTERHUB_API_URL)
- timeout: The idle timeout (in seconds) (default=600)
- cull_every: The interval (in seconds) for checking for idle servers to cull (default=0)
- max_age: The maximum age (in seconds) of servers that should be culled even if they are active (default=0)
- cull_users: Cull users in addition to servers (default=False)
- concurrency: Limit the number of concurrent requests made to the Hub (default=10)
- hooks_dir: Path to the directory for the krb tickets script (check_ticket.sh) (default="/srv/jupyterhub/culler)
- disable_hooks: Whether to call the krb tickets scripts or not (default=False)
Project details
Release history Release notifications | RSS feed
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 swanculler-1.0.7.tar.gz.
File metadata
- Download URL: swanculler-1.0.7.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7198707d194844c04dd990064ed26a10be855149fca8396f2bd9a1cd8166ae49
|
|
| MD5 |
b21e1faf28f107bb63b2b957a2dfc797
|
|
| BLAKE2b-256 |
1d9a47c20ff8460ea23a0f9610afe00f00b67e4e22131e2fde3f36d0838bdd06
|
Provenance
The following attestation bundles were made for swanculler-1.0.7.tar.gz:
Publisher:
swan-ci-ca.yml on swan-cern/jupyterhub-extensions
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swanculler-1.0.7.tar.gz -
Subject digest:
7198707d194844c04dd990064ed26a10be855149fca8396f2bd9a1cd8166ae49 - Sigstore transparency entry: 1025970059
- Sigstore integration time:
-
Permalink:
swan-cern/jupyterhub-extensions@0d2715f3ac0a9bdd1e3ee2267d80e802a3291ecf -
Branch / Tag:
refs/tags/SwanCuller/v1.0.7 - Owner: https://github.com/swan-cern
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
swan-ci-ca.yml@0d2715f3ac0a9bdd1e3ee2267d80e802a3291ecf -
Trigger Event:
push
-
Statement type:
File details
Details for the file swanculler-1.0.7-py3-none-any.whl.
File metadata
- Download URL: swanculler-1.0.7-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf9fbcd9e239e280bdddf3aaa11f4dfa784a9beb9a584f3ce16ff10fa5824019
|
|
| MD5 |
7321d7ec7e30ad061473f9b62329dc95
|
|
| BLAKE2b-256 |
c133f591cf2751201c0efb91e9504383a2d2efefa0200d1022c7ac7b1b139757
|
Provenance
The following attestation bundles were made for swanculler-1.0.7-py3-none-any.whl:
Publisher:
swan-ci-ca.yml on swan-cern/jupyterhub-extensions
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swanculler-1.0.7-py3-none-any.whl -
Subject digest:
cf9fbcd9e239e280bdddf3aaa11f4dfa784a9beb9a584f3ce16ff10fa5824019 - Sigstore transparency entry: 1025970148
- Sigstore integration time:
-
Permalink:
swan-cern/jupyterhub-extensions@0d2715f3ac0a9bdd1e3ee2267d80e802a3291ecf -
Branch / Tag:
refs/tags/SwanCuller/v1.0.7 - Owner: https://github.com/swan-cern
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
swan-ci-ca.yml@0d2715f3ac0a9bdd1e3ee2267d80e802a3291ecf -
Trigger Event:
push
-
Statement type: