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 scripts (check_ticket.sh and delete_ticket.sh) (default="/srv/jupyterhub/culler)
- disable_hooks: wether 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-0.0.2.tar.gz
(7.4 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-0.0.2.tar.gz.
File metadata
- Download URL: swanculler-0.0.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67631bd0de49520a6fd54d667c84b64ca975af2ebdfddb15744cba905de7415f
|
|
| MD5 |
44338f60cb8db5ddb4a2d80cce26d88e
|
|
| BLAKE2b-256 |
7a2ac2553972c25ba776add44d912fae44b2be659aee6f0acd150754f4c562eb
|
File details
Details for the file swanculler-0.0.2-py3-none-any.whl.
File metadata
- Download URL: swanculler-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d929c8536aa5bfac3c9efb237f8625673052afe739bd221caa4945fdf0aeeec8
|
|
| MD5 |
7690000dd344749b7a198d4ce986cf40
|
|
| BLAKE2b-256 |
791fbccb7e2950bdb69c21fa56628c83cb5cda9037aa42e3967fbc0cbdc06eb0
|