A package that provides a simple transition away from Jupyter Notebook to Jupyter Server
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nbclassic-0.1.tar.gz.
File metadata
- Download URL: nbclassic-0.1.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db3aa89e4ebce85ec49990f31f8a30ede708141247626fcc4874ecd2f045e562
|
|
| MD5 |
0530416e2e8803c64a40ec09b8460af6
|
|
| BLAKE2b-256 |
f5802c1efbb87e054036fde8f1b40b0ae38b502b94f7b470742115ea895fd365
|
File details
Details for the file nbclassic-0.1-py3-none-any.whl.
File metadata
- Download URL: nbclassic-0.1-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
388daf19afe5cacda2f1648fff2ab253e2c8174f9dd53b16908f13bd422efe2d
|
|
| MD5 |
ee7c330b7752c2a27b37d61bc794cfd0
|
|
| BLAKE2b-256 |
9ebbcc806219b58bffe4a0167451849bf584aad0c81c2d219ec3c0b9a01eb398
|