Skip to main content

Notebook Shim

This project provides a way for JupyterLab and other frontends to switch to Jupyter Server for their Python Web application backend.

Basic Usage

Install from PyPI:

pip install notebook_shim

This will automatically enable the extension in Jupyter Server.

Usage

This project also includes an API for shimming traits that moved from NotebookApp in to ServerApp in Jupyter Server. This can be used by applications that subclassed NotebookApp to leverage the Python server backend of Jupyter Notebooks. Such extensions should now switch to ExtensionApp API in Jupyter Server and add NotebookConfigShimMixin in their inheritance list to properly handle moved traits.

For example, an application class that previously looked like:

from notebook.notebookapp import NotebookApp

class MyApplication(NotebookApp):

should switch to look something like:

from jupyter_server.extension.application import ExtensionApp
from notebook_shim.shim import NotebookConfigShimMixin

class MyApplication(NotebookConfigShimMixin, ExtensionApp):

Metadata

Release files for notebook-shim 0.2.4

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

Source distribution (sdist)

Source distribution for notebook-shim 0.2.4
File Size Uploaded
notebook_shim-0.2.4.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for notebook-shim 0.2.4
File Interpreter ABI Platform
notebook_shim-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 26.5 kB

Release files / notebook_shim-0.2.4.tar.gz

Download URL notebook_shim-0.2.4.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b4b2cfa1b65d98307ca24361f5b30fe785b53c3fd07b7a47e89acb5e6ac638cb
BLAKE2b-256 checksum
How to use checksums
54d292fa3243712b9a3e8bafaf60aac366da1cada3639ca767ff4b5b3654ec28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release files / notebook_shim-0.2.4-py3-none-any.whl

Download URL notebook_shim-0.2.4-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
411a5be4e9dc882a074ccbcae671eda64cceb068767e9a3419096986560e1cef
BLAKE2b-256 checksum
How to use checksums
f933bd5b9137445ea4b680023eb0469b2bb969d61303dedb2aac6560ff3d14a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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