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.5.tar.gz (23.6 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.5-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbclassic-0.3.5.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for nbclassic-0.3.5.tar.gz
Algorithm Hash digest
SHA256 99444dd63103af23c788d9b5172992f12caf8c3098dd5a35c787f0df31490c29
MD5 5a717d74b91a44ead4d0a9101bf61f19
BLAKE2b-256 2c82047ae6a037bfacaa2e2f2bda725b156aabc45609bd69a47fe9d1ff5d0328

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nbclassic-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for nbclassic-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 012d18efb4e24fe9af598add0dcaa621c1f8afbbbabb942fb583dd7fbb247fc8
MD5 cff3236f498c42f7801f56975e62b812
BLAKE2b-256 6f4521eaa314a406e2ba5c000ad755d1153b3269d338800674b5ff5f62f1f0fb

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