Skip to main content

JupyterHub Traefik Proxy

Documentation build status GitHub Workflow Status CircleCI build 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:

  • TraefikTomlProxy

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-0.3.0.tar.gz (39.7 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-0.3.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyterhub-traefik-proxy-0.3.0.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for jupyterhub-traefik-proxy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a708e622e9c9a0c7c52c691aea4d3121e9a79ca8c58c5eab8141acae12d5b047
MD5 938d2bf1aa458c6753ec3aaeeb541b3b
BLAKE2b-256 7235985873e4ff479978242eeee0a1860d9465fadf9cfb5571ac4f7965ae38a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jupyterhub_traefik_proxy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for jupyterhub_traefik_proxy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d2d612d5344287b79daaa47042fd7d915a5519ad5e172133db2f31070e57930
MD5 991df7162030be63c21361aa231a6d87
BLAKE2b-256 05206acf25ba5824661fd9060d65546db458f6c5e0f60e0e733ada4bf649fa7c

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