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.2.0.tar.gz (14.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.2.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbclassic-0.2.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

File hashes

Hashes for nbclassic-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6c0210df8c361d4f54d7cec0d5892b616fe15a55eb5676fe4c881b05785c087f
MD5 c84f34ffeedfe75fd6294b1da493cb2d
BLAKE2b-256 b2e0ee2a10b7f8bafeb76a09da4fcbb650a8d0b82453c6cc0439f20039904584

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nbclassic-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

File hashes

Hashes for nbclassic-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01ebd6df3c7fd26aaadea016d3303b31bef69f07bd6881c11ea226c16359a73c
MD5 9f9d92a22c489d381ffed23e70df182a
BLAKE2b-256 6b10d483dd5173454bf0e6bcbc1febea00b59d7c6bf9ace9ebc7721490822798

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