jupyterlab-contrib / jupyterlab-kernelspy Goto Github PK
View Code? Open in Web Editor NEWA Jupyter Lab extension for inspecting messages to/from a kernel
License: Other
A Jupyter Lab extension for inspecting messages to/from a kernel
License: Other
It would be great to be able to send custom messages to the kernel.
We could imagine having a new panel with a few options:
shell
, control
...)request_execute
, debug_request
and so on)KernelSpyView
to inspect the messages"[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab Extension Package
>=0.17.2 <0.18.0 >=0.16.0 <0.17.0 @jupyterlab/application
After jupyterlab/jupyterlab#4437 gets released, the code should switch to use this signal. Maybe the message direction should also be included in the model and reflected in the view.
This extension does not seem to build anymore with JupyterLab 2
Types for react-inspector
were recently published on npm: https://www.npmjs.com/package/@types/react-inspector
Maybe worth considering switching, although they don't seem to be exporting the Theme
interface and appear less complete than https://github.com/vidartf/jupyterlab-kernelspy/blob/master/typings/react-inspector/react-inspector.d.ts
From a computer running Ubuntu 16.04 with Jupyterlab v0.35.6, and Node v9.8.0, the installation command jupyter labextension install jupyterlab-kernelspy
fails with:
/home/ubuntu/Python-3.7.3/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:74
throw err;
^
Error: Cannot find module 'jupyterlab-kernelspy/package.json'
Have I missed a prerequisite installation step?
Needs jupyterlab/jupyterlab#4437 to be released for lab to avoid the current dirty hack to patch the kernel objects. I don't want to spend too much time on polishing that ugly hack.
Since the KernelSpyView is instantiated with a kernel, should the view be automatically be disposed when the kernel is shut down?
For example when going to running kernels tab and clicking on "Shut Down".
Add a text input in toolbar to filter on message type / id.
That way it's easy to find it on github.
Installing this package downgrades my JupyterLab 3.0.6 to 3.0.0, and it seems to relate to a requirement of jupyterlab~=3.0.0b6
from some place.
Using pipdeptree
I found...
jupyterlab-kernelspy==3.0.1
- jupyterlab [required: ~=3.0.0b6, installed: 3.0.0]
Inspecting the release history at pypi I found the last release was made in september 2020.
From inspecting the current setup.py
it seems to be more permissive than before though as of a commit made in January: ab7fa88
A release is needed for proper JupyterLab 3 support beyond 3.0.0! Thanks for your work on this extension! ❤️
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.