Jupyter Notebook as a Jupyter Server Extension.
Project description
Jupyter Notebook as a Jupyter Server Extension
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nbclassic-0.2.0rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6493195920e19ddf35548da0c84032a3a5e8e965b2ac006b9f2e6ea115a7e89b |
|
MD5 | 38860de865783b79dc9c8797a4dc0cdd |
|
BLAKE2b-256 | 88dc137ea49b83a3e32a8d17d767a5f06c3f89c01c17c433d2290a33ec77f41e |