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)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
swanculler-1.0.3.tar.gz
(9.0 kB
view details)
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.3.tar.gz.
File metadata
- Download URL: swanculler-1.0.3.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39f5dec6dd8fc00ab216c0825b7c39f07cc870b8d24a6a984f8f912af75a3e54
|
|
| MD5 |
9427ed7e69329b3478667b0b55aa9075
|
|
| BLAKE2b-256 |
eeec6c95f067c7cfe58b5ef2e6c90cb160e218b70695bbd1bf6a12255a7a3bf4
|
File details
Details for the file swanculler-1.0.3-py3-none-any.whl.
File metadata
- Download URL: swanculler-1.0.3-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e7c58b3dc8544829d5966f3e660277cd793a1340463d5df639673b9bd9012bc
|
|
| MD5 |
be5d0da43a4fe8e6b3f492479957eeaa
|
|
| BLAKE2b-256 |
af918eee27b52b1ec8e8f8f870dcc6c6cbafec162fe76bb9865fd872df693f1f
|