A shim layer for notebook traits and config
Project description
go from data to knowledge
Elixir Shim
This project provides a way for ElixirNote and other frontends to switch to Elixir Server for their Python Web application backend.
Basic Usage
Install from PyPI:
pip install elixir-shim
This will automatically enable the extension in Elixir Server.
Usage
This project also includes an API for shimming traits that moved from NotebookApp
in to ServerApp
in Elixir Server.
This can be used by applications that subclassed NotebookApp
to leverage the Python server backend of Elixir Notebooks.
Such extensions should now switch to ExtensionApp
API in Elixir Server and add NotebookConfigShimMixin
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 notebook_shim.shim import NotebookConfigShimMixin
class MyApplication(NotebookConfigShimMixin, 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
File details
Details for the file elixir_shim-0.2.2.tar.gz
.
File metadata
- Download URL: elixir_shim-0.2.2.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ebdd43cc6089a57928b3c21976fb290efc27cd331bf047552a8c9a0ca546a7c |
|
MD5 | fdce53a29752d0fc90b7bf0fef9955d1 |
|
BLAKE2b-256 | 427827f44ff7797b2397c1b578eb3189f53c9d1b734cc7c95998e6e0f7f06f8b |
File details
Details for the file elixir_shim-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: elixir_shim-0.2.2-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5350bc43d568fc75fc259ab43226dc79c32554b20d1a6115efeb1f9ba2c52e5d |
|
MD5 | 721f3bf43048bc57ddce94cbdc117195 |
|
BLAKE2b-256 | 3e84b2f0e5e97346771d4e8f8863c6d6aa6b672568b615afda8432696993ec57 |