Skip to main content

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.

Metadata

Release files for jupyterhub-forwardbasespawner 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterhub-forwardbasespawner 2.1.2
File Size Uploaded Provenance Actions
jupyterhub_forwardbasespawner-2.1.2.tar.gz 57.0 kB Without provenance Details for jupyterhub_forwardbasespawner-2.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterhub-forwardbasespawner 2.1.2
File Interpreter ABI Platform Actions
jupyterhub_forwardbasespawner-2.1.2-py3-none-any.whl Python 3 none any Details for jupyterhub_forwardbasespawner-2.1.2-py3-none-any.whl

Total release size: 78.7 kB

Release files / jupyterhub_forwardbasespawner-2.1.2.tar.gz

Download URL jupyterhub_forwardbasespawner-2.1.2.tar.gz
Size 57.0 kB
Tags Source
SHA-256 checksum
How to use checksums
48d88ba61c7976a0016e5ae4b2e59ce93c8e0e22e32ed1b3bd2eab78728eaf0d
BLAKE2b-256 checksum
How to use checksums
66d6107c6d8e625f363bb6c78f22cc5cb28ad4a608c73abe7d7df206ac7e8109
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / jupyterhub_forwardbasespawner-2.1.2-py3-none-any.whl

Download URL jupyterhub_forwardbasespawner-2.1.2-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efec7f1c85720051ccd773319925a6f8eb4dd15440b8908d7dace1371e9a1c42
BLAKE2b-256 checksum
How to use checksums
2de6adf707d8b1ca5ef3911a766fa1c1a9e76b435c620336b4afbb1aae2cf6f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for jupyterhub-forwardbasespawner 2.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page