Skip to main content

Jupyter Kernel Mixing

This package provides a Jupyter Server extension that allows you to run local and remote kernels side by side.

It does this by "mixing" the local and remote kernels together into a single collection containing both.

This collection then keeps track of whether specific kernels were local or remote and forwards any corresponding kernel requests accordingly.

Installation

Install the kernels-mixer Python package using pip:

pip install kernels-mixer

Setup

If you do not already have a Jupyter config file (e.g. ~/.jupyter/jupyter_lab_config.py), the first generate one with the following command:

jupyter lab --generate-config

The open your config file and add the following two lines to the end:

import kernels_mixer
kernels_mixer.configure_kernels_mixer(c)

Kernel Name Uniqueness

This extension expects that local and remote kernels have different names. If that is not the case then the local kernel will override the remote kernel. For example, if there is a local kernel named "python3", then any kernels in the remote kernel gateway named "python3" will be hidden in favor of it.

When using this extension, it is recommended that the remote kernel gateway is set up to add a prefix onto every kernel name in order to distinguish them from the local kernels.

Similarly, it is recommended that remote kernel display names are augmented to indicate where they are running.

The default kernel gateway used with this extension is the regional GCP kernel gateway hosted under kernels.googleusercontent.com, which ensures that both of those conditions are followed.

Download files

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

Source Distribution

kernels_mixer-0.0.16.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

kernels_mixer-0.0.16-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file kernels_mixer-0.0.16.tar.gz.

File metadata

  • Download URL: kernels_mixer-0.0.16.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for kernels_mixer-0.0.16.tar.gz
Algorithm Hash digest
SHA256 375e5256542e048680b4bf242f00bf7414870c1558da551ed775ae6c8bfd9d16
MD5 62f6750214fbd6339baa15d7bf3433cb
BLAKE2b-256 6160bcc80190a8776579cdd53fe01d7ede8900af94c463173b9d21c5027c7a64

See more details on using hashes here.

Provenance

The following attestation bundles were made for kernels_mixer-0.0.16.tar.gz:

Publisher: publish.yml on GoogleCloudPlatform/jupyter-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 kernels_mixer-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: kernels_mixer-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for kernels_mixer-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 1184a086c517fdf3ba3da1bbc28189412a4ec6bb5d720ce898e8155e6fdba328
MD5 d6d7826bfdfb2bc1875c0fcea4ced8c1
BLAKE2b-256 c153b7841c82015418f92352557056b9c7da418a49bc313d9b9eec8968e23518

See more details on using hashes here.

Provenance

The following attestation bundles were made for kernels_mixer-0.0.16-py3-none-any.whl:

Publisher: publish.yml on GoogleCloudPlatform/jupyter-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 files

0.0.15

1 file

0.0.14

1 file

0.0.13

1 file

0.0.12

1 file

0.0.11

1 file

0.0.10

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page