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

Uploaded Source

Built Distribution

swanhub-1.0.1-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swanhub-1.0.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for swanhub-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f4b6212e5d101679d60fd988fbafc27ebc92a1255a47397e8152dae5f28e86b0
MD5 d5b6a752602bde6cc8605128c4dc4b98
BLAKE2b-256 91c8424316639d93ab558cfc85eac30ae69ee4dcd0629cdaf97e6b12135272a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swanhub-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for swanhub-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5bf71470cb69c71ec72a7777bedb045608d8494120d5581fe032a0d4ae334633
MD5 a005d16c8c8c4f562ffe10bd76cfc414
BLAKE2b-256 ecec74b975d102c1ea0722b0bab0cf935bae382c424fa40a10f27539b6387d67

See more details on using hashes here.

Supported by

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