- Notifications
You must be signed in to change notification settings - Fork25
Save, reuse, and share code snippets using JupyterLab Code Snippets!
License
jupytercalpoly/jupyterlab-code-snippets
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This extension is a derivative ofElyra's original design and further developed by Jupyter Cal Poly Team.
ReadPress Release for more information.
Check outthe Current Progress to keep up with our feature updates!
This extension is composed of a NPM package namedjupyterlab-code-snippets
for the frontend extension.
- JupyterLab >= 3.5.3
- Python >= 3.7
Install using jupyter:
jupyter labextension install jupyterlab-code-snippets
Install using pip:
pip install jupyterlab-code-snippets
conda install -c conda-forge jupyterlab-code-snippets
If it is installed, try:
jupyter lab cleanjupyter lab build
Thejlpm
command is JupyterLab's pinned version ofyarn that is installed with JupyterLab. You may useyarn
ornpm
in lieu ofjlpm
below.
# Clone the repo to your local environment# Move to jupyter-lab-code-snippets directory# Install dependenciesjlpm# Build Typescript sourcejlpm build# Link your development version of the extension with JupyterLabjupyter labextension install.# Rebuild Typescript source after making changesjlpm build# Rebuild JupyterLab after making any changesjupyter 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 tabjlpm watch# Run jupyterlab in watch mode in one terminal tabjupyter lab --watch
Now every change will be built locally and bundled into JupyterLab. Be sure to refresh your browser page after saving file changes to reload the extension (note: you'll need to wait for webpack to finish, which can take 10s+ at times).
jupyter labextension uninstall jupyterlab-code-snippets
OR
pip uninstall jupyterlab-code-snippets
About
Save, reuse, and share code snippets using JupyterLab Code Snippets!
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.