Skip to main content

Custom SWAN templates and handlers for JupyterHub

Project description

SwanHub

JupyterHub wrapper that automatically configures the SWAN templates and handlers.

These handlers replace the default ones with slightly modified versions (for example, the user info api endpoint provides information about the auth state, which is hidden in the default implementation).

Requirements

This module requires and installs JupyterHub.

Installation

Install the package

pip install swanhub

To have the proper css, it is necessary to download a release from https://github.com/swan-cern/common into the folder /usr/local/share/jupyterhub/static/swan/.

Usage

Start SwanHub as you would for JupyterHub, and with the same configurations. Example:

swanhub --config /path/to/my/jupyterhub_config.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swanhub-1.0.20.tar.gz (294.0 kB view details)

Uploaded Source

Built Distribution

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

swanhub-1.0.20-py3-none-any.whl (587.8 kB view details)

Uploaded Python 3

File details

Details for the file swanhub-1.0.20.tar.gz.

File metadata

  • Download URL: swanhub-1.0.20.tar.gz
  • Upload date:
  • Size: 294.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for swanhub-1.0.20.tar.gz
Algorithm Hash digest
SHA256 97cef823f8c8520a06147bbc496e5c8141426d01ebd9aa26e3a08674beb6c5e4
MD5 c4a4068e77ce6b7fba9eb03369a31efc
BLAKE2b-256 075d44ebd85389eaedd421555a42881fefddcefc9f3c27b131235af090e2873d

See more details on using hashes here.

Provenance

The following attestation bundles were made for swanhub-1.0.20.tar.gz:

Publisher: release.yml on swan-cern/jupyterhub-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swanhub-1.0.20-py3-none-any.whl.

File metadata

  • Download URL: swanhub-1.0.20-py3-none-any.whl
  • Upload date:
  • Size: 587.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for swanhub-1.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 bd3ef026473580051770acedd56b300fd5d049de8f7984a163945f3c7063128b
MD5 4d34c9c8acba9c99bb6c81731cc584de
BLAKE2b-256 59082fcfa132d58971b077b49fb449f50074ab3dcd3cb93b68b5150c138c12bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for swanhub-1.0.20-py3-none-any.whl:

Publisher: release.yml on swan-cern/jupyterhub-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page