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

Uploaded Python 3

File details

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

File metadata

  • Download URL: swanhub-0.1.6.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for swanhub-0.1.6.tar.gz
Algorithm Hash digest
SHA256 d39f06e50a3130326460e0eeeb2a0745bf718412506b17d3111375cd5b91e972
MD5 2f6a5f92c64c347afdc259485827863a
BLAKE2b-256 a142e3c026175ca91dcac7a94252766c31193cd973471f89934e452050a1fd32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swanhub-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for swanhub-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f11693e057067025e38f9648bec3f65e34a267a806337f7208ef4162f776d23c
MD5 5880ae6efde0e7a684df11b13149403f
BLAKE2b-256 7548a9eac38b11fff5a19af2c73280d17b1842073e7dae3f1fe42d1a88bc6dca

See more details on using hashes here.

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