Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Save, reuse, and share code snippets using JupyterLab Code Snippets!

License

NotificationsYou must be signed in to change notification settings

jupytercalpoly/jupyterlab-code-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Save, reuse, and share code snippets using JupyterLab Code Snippets

Github Actions StatusBindernpm versionPyPI versionConda VersionLicenseDocumentation Status

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-snippetsfor the frontend extension.

Alt Text

Requirements

  • JupyterLab >= 3.5.3
  • Python >= 3.7

Install

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

Troubleshoot

If it is installed, try:

jupyter lab cleanjupyter lab build

Contributing

Install

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).

Uninstall

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

Stars

Watchers

Forks

Contributors7


[8]ページ先頭

©2009-2025 Movatter.jp