Skip to main content

JupyterHub BaseSpawner class. Enables remote single-user server.

Project description

Documentation Status

ForwardBaseSpawner

The ForwardBaseSpawner is a base class, which can be used by any Spawner that creats the singleuser notebook server on a remote system. The ForwardBaseSpawner itself cannot start anything. The actual logic of starting / stopping must be implemented in a subclass.

Overview

The JupyterHub ForwardBaseSpawner offers a variety of useful functions, to enable and manage the communication between JupyterHub and a singleuser notebook servers, which runs on a remote machine. It covers the following functionalities:

  • Manage ssh port forwarding process from JupyterHub to singleuser notebook server
  • Manage ssh port forwarding process from singleuser notebook server to JupyterHub
  • Manage Kubernetes Service Resource to make singleuser notebook server reachable for JupyterHub
  • Adds cancel function. Allows the user to cancel an ongoing spawn process
  • Start process of remote singleuser notebook servers may send their current progress to SpawnEventsAPIHandler, which shows it to the user
  • SetupTunnelAPIHandler allows to define the ssh jump node between JupyterHub and singleuser notebook server during the spawn process
  • ListServersAPIHandler returns all running UserID-servername combinations. Gives remote systems the chance to compare their running servers with the JupyterHub ones
  • SSHNodeRestartedAPIHandler enables a recreation of all port forwarding process to a specific jump node. Required when a jump node was restarted

For more information and the usage have a look at the JupyterHub OutpostSpawner documentation. It's a subclass of the ForwardBaseSpawner and enables a central JupyterHub to start singleuser notebook-server on multiple remote systems.
You can find a few examples and configurations over there.

Requirements

At least one JupyterHub running on a Kubernetes Cluster (recommended is the use of Zero2JupyterHub). A subclass of the ForwardBaseSpawner which implements the actual start/stop logic for singleuser notebook servers.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

jupyterhub_forwardbasespawner-2.0.0a1.tar.gz (56.8 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file jupyterhub_forwardbasespawner-2.0.0a1.tar.gz.

File metadata

File hashes

Hashes for jupyterhub_forwardbasespawner-2.0.0a1.tar.gz
Algorithm Hash digest
SHA256 70852527347a94c515da0fc1203dec718dd854ff8517df1462831db33d1c8f81
MD5 5e6ae4591f7d1838cd5d62fc9f397e88
BLAKE2b-256 2d4cd546c86609ce1e3a063ce12a885276b077b790a78468814a0de90396f8e8

See more details on using hashes here.

File details

Details for the file jupyterhub_forwardbasespawner-2.0.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterhub_forwardbasespawner-2.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 db7d016937532031233303bb8373da560ce8b70940088f3f449eed6ebf376b39
MD5 02d74c084ea7ea7a95175ef7ecf4d49b
BLAKE2b-256 5803efdd31c4d39f7cd5b4ab7f5181c613146299efa17626c0c40c708a84536d

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