Subnotebook
Run a notebook as you would call a Python function.
Two modes are currently supported:
- An in-process mode, where the subnotebook is executed in the same kernel your interpreter is running in (but in a different name space). This allows to pass parameters and get results back, including widgets.
from subnotebook import run_nb
ab, ba, slider, output = run_nb('sub_notebook.ipynb', a='c', b='d')
- An out-of-process mode, where the subnotebook is executed and served using Voila, and included in the main notebook as an IFrame. This mode only allows to display the outputs of the subnotebook, which is useful for offloading the main notebook but also to offer a UI to resources you would not have access to, such as big data or protected data.
from subnotebook import display_nb
display_nb('widget_notebook.ipynb')
Release files for subnotebook 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| subnotebook-0.0.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| subnotebook-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / subnotebook-0.0.1.tar.gz
| Download URL | subnotebook-0.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
320a9e9c29657898d6a45e8c00557234d43a54ada30c99c04634a464d96638a4
|
|
BLAKE2b-256 checksum How to use checksums |
b4cc1eda588ce9efffada806ef992760b8464b1e418fd001245d6dbdb1b04f5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / subnotebook-0.0.1-py3-none-any.whl
| Download URL | subnotebook-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d2221f051d50ce87fbee4c991533d75d397524106af251ff9f471308cf54026
|
|
BLAKE2b-256 checksum How to use checksums |
5f124bc1b1daa74fe9ba2312484e3bd1538b4032c11f8fa0ef19c8d806c15302
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|