Add a button to reliably interrupt a IPython kernel
npm install interrupt-ipykernel-extensionAdd a button to reliably interrupt a IPython kernel
* JupyterLab >= 1.0
``bash`
jupyter labextension install interrupt-ipykernel-extension
The jlpm command is JupyterLab's pinned version ofyarn
yarn that is installed with JupyterLab. You may use or npm in lieu of jlpm below.
`bash`Clone the repo to your local environment
Move to interrupt-ipykernel-extension directory
Install dependencies
jlpmBuild Typescript source
jlpm buildLink your development version of the extension with JupyterLab
jupyter labextension link .Rebuild Typescript source after making changes
jlpm buildRebuild 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.
`bash`Watch the source directory in another terminal tab
jlpm watchRun jupyterlab in watch mode in one terminal tab
jupyter lab --watch
`bash``
jupyter labextension uninstall interrupt-ipykernel-extension