AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Instal SnippetsLab1/23/2024 You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension. # Rebuild extension Typescript source after making changes # Link your development version of the extension with JupyterLab # Clone the repo to your local environment # Change directory to the jupyterlab-snippets directory # Install package in development mode The jlpm command is JupyterLab's pinned version of Note: You will need NodeJS to build the extension package. If it is installed, try: jupyter lab clean The frontend, check the frontend extension is installed and enabled: jupyter labextension list If the server extension is installed and enabled but you are not seeing That the server extension is enabled: jupyter serverextension list If you are seeing the frontend extension but it is not working, check Jupyter-boilerplate classic notebook extension (not available for See jupyter-boilerplate-converter on how to convert snippets from the In JupyterLab, use the "Snippets" menu to select the snippet: Convert snippets from jupyter-boilerplate format Directories can be used to organize the snippet files and will become submenu's in the menu. Use the first directory listed under data: to add files to, these become snippets in the menu. This will for example show the following list on macOS: config: To find the Jupyter data directory, run: $ jupyter -path If you use JupyterLab 2.x, you will have to rebuild JupyterLab with: jupyter lab buildĪdd snippets in /snippets (see: ) Using pip: pip install jupyterlab-snippets Using conda: conda install -c conda-forge jupyterlab-snippets This extension is composed of a Python package named jupyterlab-snippetsįor the server extension and a NPM package named jupyterlab-snippets
0 Comments
Read More
Leave a Reply. |