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.13.tar.gz (300.2 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.13-py3-none-any.whl (586.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for swanhub-1.0.13.tar.gz
Algorithm Hash digest
SHA256 fcdf11b95675cda3a65e091af424794bcb0a7f05a317fc95b7af981918331896
MD5 88876869088b2839b0b5ae456593a9be
BLAKE2b-256 9354330f43d4385b2af9948fc8dee475408c9ab7d65397303bff40f2eb01bc16

See more details on using hashes here.

Provenance

The following attestation bundles were made for swanhub-1.0.13.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.13-py3-none-any.whl.

File metadata

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

File hashes

Hashes for swanhub-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 61e1d7d73f02110992d38bf714906afca73c893173214cd4f1e96c5c4b64194a
MD5 b5f6021da51a0df9afda07024aeadf69
BLAKE2b-256 defce155f24511ffdf9f6785d0bacfab62ad1b2b0991809c299b174a7567173d

See more details on using hashes here.

Provenance

The following attestation bundles were made for swanhub-1.0.13-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