Skip to main content

JupyterHub Traefik Proxy

Documentation build status GitHub Workflow Status Latest PyPI version GitHub Discourse Gitter

When JupyterHub starts a server for a user, it will dynamically configure a proxy server so that accessing jupyterhub.example.com/user/<user> routes to the individual Jupyter server. This project contains what JupyterHub need to dynamically configure the routes of a traefik proxy server! There are three implementations of the JupyterHub proxy API, depending on how traefik store its routing configuration.

For smaller, single-node deployments:

  • TraefikFileProviderProxy

For distributed setups:

  • TraefikEtcdProxy
  • TraefikConsulProxy

Installation

The documentation contains a complete installation guide with examples for the three different implementations.

Running tests

There are some tests that use etcdctl command line client for etcd. Make sure to set environment variable ETCDCTL_API=3 before running the tests, so that the v3 API to be used, e.g.:

$ export ETCDCTL_API=3

You can then run the all the test suite from the traefik-proxy directory with:

$ pytest -v ./tests

Or you can run a specific test file with:

$ pytest -v ./tests/<test-file-name>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterhub-traefik-proxy-1.0.1.tar.gz (39.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterhub_traefik_proxy-1.0.1-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file jupyterhub-traefik-proxy-1.0.1.tar.gz.

File metadata

  • Download URL: jupyterhub-traefik-proxy-1.0.1.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for jupyterhub-traefik-proxy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 19f242763eb0ee4861537ed956cafe78db49c3bf653e7726717adce39599e2f5
MD5 2a48ca640e24000ae7d462be2f2a1045
BLAKE2b-256 099282f587947804fd8185dd0ffb87c0c9a1ff39c83e991e2bf2b529a553826b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyterhub_traefik_proxy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ec401d5ec78ab570a7dad34794442f3c45907624feeb1833288a49d16c2e874
MD5 e440cb9acbebe702620a94e648d69647
BLAKE2b-256 b4adab0fea2c5b8a48dd69b411407f56bd6f69ba4defe1fb882e9f80f0e6e52a

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 Sentry Error logging StatusPage Status page