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

Uploaded Source

Built Distribution

swanhub-1.0.0-py3-none-any.whl (18.5 kB view hashes)

Uploaded Python 3

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