jupyterlab-hide-code: A JupyterLab Extension to Run and Hide Source Code
A button in JupyterLab to run the code cells and then to hide the code cells. This JupyterLab extension was inspired by the jlab-hide-code JupyterLab extension from Aachen (Aix) Virtual Platform for Materials Processing.
Requirements
- JupyterLab >= 3.0
Install
pip install jupyterlab-hide-code
Uninstall
pip uninstall jupyterlab-hide-code
Contributing
Build
The jlpm command is JupyterLab's pinned version of
yarn that is installed with JupyterLab. You may use
yarn or npm in lieu of jlpm below.
# Clone the repo to your local environment
# Move to jupyterlab-hide-code directory
# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.
# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch
Acknowlegements
We acknowledge support from the EPFL Open Science Fund via the OSSCAR project.
Metadata
Release files for abirami-hide-code 4.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abirami_hide_code-4.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / abirami_hide_code-4.0.5-py3-none-any.whl
| Download URL | abirami_hide_code-4.0.5-py3-none-any.whl |
|---|---|
| Size | 40.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b19559b293d22ba901610c891b531d5f2d7f6e5ebf674af4d109548501c9ed5
|
|
BLAKE2b-256 checksum How to use checksums |
b3b259fe7a25c6345929bb60fa159c56620d4c981c46498344e5775d048bc365
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|