Culler for JupyterHub
Reason this release was yanked:
Wrong dependency
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 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)
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
swanculler-0.0.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for swanculler-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6c2836ab8bd939d3b553fefa4b05a31c0e707558990795e17da78734f7bfb00 |
|
MD5 | f47c7a5463cb0348f41225ba8a123c42 |
|
BLAKE2b-256 | a960d14f2231fdb82a8a404c6ac71abeb4d1c5607e4367910cbc45f1ba8e433e |