Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.7 instead.
Reason given by maintainers: Wrong dependency

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.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swanculler-0.0.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file swanculler-0.0.1.tar.gz.

File metadata

  • Download URL: swanculler-0.0.1.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

Hashes for swanculler-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ed978333827c28bfb5b4765fdb8328f4837282cb1f92c1ad3f5cb82e75cfcd28
MD5 59c3220c461cdd98cbdb893e4e4f1ada
BLAKE2b-256 ee12258bb62163548ba5e0f48d532257ae5210c08bf31e2f710362fd9a24cc2d

See more details on using hashes here.

File details

Details for the file swanculler-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: swanculler-0.0.1-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

Hashes for swanculler-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6c2836ab8bd939d3b553fefa4b05a31c0e707558990795e17da78734f7bfb00
MD5 f47c7a5463cb0348f41225ba8a123c42
BLAKE2b-256 a960d14f2231fdb82a8a404c6ac71abeb4d1c5607e4367910cbc45f1ba8e433e

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.0.3

2 files

0.0.2

2 files

This release

0.0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page