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.14.tar.gz (300.3 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.14-py3-none-any.whl (587.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for swanhub-1.0.14.tar.gz
Algorithm Hash digest
SHA256 3e1e4c35adec3f5612c2e461d70bc79444292743ab01cd71093699902633de0d
MD5 62d954181b8bb8e0a52a0608b3dc2621
BLAKE2b-256 52691f6ee889c2f2894886abd3d1b3559a3353780b177d4e5b1eeb3614d62f36

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for swanhub-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 96397e8f9a098307b9eff135f5d0ee672146a50aab6c0187fd3078a83710f1c3
MD5 b0c6341336d624286d688a27fae5d7fd
BLAKE2b-256 d1d6402d86eb073c44fb4fd11cd5d9c1c11c2c2a6cb6eb387dba30a17a14de8a

See more details on using hashes here.

Provenance

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