jupyterlab_scenes
Define subsets of code cells as scenes and execute them.
Usage
- The command "Toggle Scene Cell" attaches a cell to the active scene (or removes it again). Scene membership is indicated by the purple dot at the right end of the cell.
- The active scene is the scene that is currently displayed (purple dots) and can be edited.
- All cells of a scene are executed by clicking the run button in the scene.
- One cell can be part of multiple scenes.
- By clicking the
initbutton, one scene can be chosen to be automatically executed as the kernel becomes ready (due to a restart or at the initial loading of the notebook). - If a notebook with an already running kernel is opened, the init scene is not executed.
- Only one scene can be an init scene.
- To run a scene named
My Favourite Sceneprogramatically, do
But you may run only one scene at a time. No excessive looping as the scenes are executed only after the cell that launches thefrom ipylab import JupyterFrontEnd JupyterFrontEnd().commands.execute('scenes:run-scene', 'My Favourite Scene')run-scenecommand is finished.
Requirements
- JupyterLab >= 4.0
Install
To install the extension, execute:
pip install jupyterlab_scenes
Uninstall
To remove the extension, execute:
pip uninstall jupyterlab_scenes
Packaging the extension
See RELEASE
Metadata
Release files for jupyterlab-scenes 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyterlab_scenes-2.0.0.tar.gz | 244.8 kB | Without provenance | Details for jupyterlab_scenes-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_scenes-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_scenes-2.0.0-py3-none-any.whl |
Total release size: 703.2 kB
Release files / jupyterlab_scenes-2.0.0.tar.gz
| Download URL | jupyterlab_scenes-2.0.0.tar.gz |
|---|---|
| Size | 244.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03e04d02263f43e2b7bca13e3d955ac36b86ce49b5a99ab0f3258e8133ad57a8
|
|
BLAKE2b-256 checksum How to use checksums |
7dceed070b26cdf85008f14deeb134ca1c174435d5a780e54f91e220a265ec61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / jupyterlab_scenes-2.0.0-py3-none-any.whl
| Download URL | jupyterlab_scenes-2.0.0-py3-none-any.whl |
|---|---|
| Size | 458.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f771dace6f1d98b1939dd001251c6b46f2ea07047aa78121a7e4e0d752550800
|
|
BLAKE2b-256 checksum How to use checksums |
70743507eb8091b1b808b8114b36a1b088008e422619bc8b2b10684f36b6d1df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for jupyterlab-scenes 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.