Skip to main content

SwanCuller

JupyterHub services that checks and cleans user sessions.

Requirements

This module requires and installs Tornado.

Installation

Install the package:

pip install swanculler

swanblockedusersculler service usage

swanblockedusersculler is a JupyterHub service that checks and delete user sessions for blocked users.

Call the binary and specify configuration parameters:

swanblockedusersculler --auth_check_interval=600 --authz_api_url ... --audience ... --auth-url ...

Configuration parameters:

  • url: The JupyterHub API URL (default=$JUPYTERHUB_API_URL)
  • auth_check_interval: The interval (in seconds) for checking for blocked users (default=14400)
  • concurrency: Limit the number of concurrent requests made to the Hub (default=10)
  • audience: Audience for CERN access token
  • authz_api_url: URL to fetch user identity from authorization service
  • auth_url: URL to fetch CERN access token
  • auth_client_id: Client ID for blocked user check (default=$AUTH_CLIENT_ID)
  • auth_client_secret: Client secret for blocked user check (default=$AUTH_CLIENT_SECRET)

Metadata

Release files for swanculler 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swanculler 1.0.10
File Size Uploaded Provenance Actions
swanculler-1.0.10.tar.gz 4.7 kB With provenance Details for swanculler-1.0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swanculler 1.0.10
File Interpreter ABI Platform Actions
swanculler-1.0.10-py3-none-any.whl Python 3 none any Details for swanculler-1.0.10-py3-none-any.whl

Total release size: 9.8 kB

Release files / swanculler-1.0.10.tar.gz

Download URL swanculler-1.0.10.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
029f99ddde88b0e98db8da976497c5fd557d6a8e725960b7c35fc0dfd8da1dd4
BLAKE2b-256 checksum
How to use checksums
6899b419d0aaed9ffabbe81b218206f66364b4181da897232c0801a0c769a5ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / swanculler-1.0.10-py3-none-any.whl

Download URL swanculler-1.0.10-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb2dbbca769ed45127a22d039b9371c5a84c3783dae38c4bff2bed48aa15f67e
BLAKE2b-256 checksum
How to use checksums
c0e495e3e311e06909cb9cc01e1ba430f7dc6072928375a52056d11a37108841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for swanculler 1.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for swanculler-1.0.10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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