Skip to main content

Jupyter Notebook as a Jupyter Server extension.

Project description

Jupyter Notebook as a Jupyter Server Extension

Testing nbclassic

NBClassic runs the Jupyter Notebook frontend on the Jupyter Server backend.

This project prepares for a future where JupyterLab and other frontends switch to Jupyter Server for their Python Web application backend. Using this package, users can launch Jupyter Notebook, JupyterLab and other frontends side-by-side on top of the new Python server backend.

Basic Usage

Install from PyPI:

> pip install nbclassic

This will automatically enable the extension in Jupyter Server.

Launch directly:

> jupyter nbclassic

Alternatively, you can run Jupyter Server and visiting the /tree endpoint:

> jupyter server

Further Details

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 NBClassicConfigShimMixin 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 nbclassic.shim import NBClassicConfigShimMixin

class MyApplication(NBClassicConfigShimMixin, ExtensionApp):

Project details


Download files

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

Source Distribution

nbclassic-0.3.4.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

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

nbclassic-0.3.4-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file nbclassic-0.3.4.tar.gz.

File metadata

  • Download URL: nbclassic-0.3.4.tar.gz
  • Upload date:
  • Size: 23.4 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.9.7

File hashes

Hashes for nbclassic-0.3.4.tar.gz
Algorithm Hash digest
SHA256 f00b07ef4908fc38fd332d2676ccd3ceea5076528feaf21bd27e809ef20f5578
MD5 0ec0274877e458320b6341e249fcc66c
BLAKE2b-256 87208b4637355ee0a00dcf97a821f67f65e8be5ee303a5e8d0c5759f85e64d79

See more details on using hashes here.

File details

Details for the file nbclassic-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: nbclassic-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 25.0 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.9.7

File hashes

Hashes for nbclassic-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9c7b7987a148ecdd1827b47fe6f6968b2ddabf663142f81254000cb77ee5bd10
MD5 ea3472c252312a16fecd2e17e6535ba4
BLAKE2b-256 5b839858221f5318a872d92f9be0a516275e2700119d3702e0ec05a299ba75af

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