
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
jupyter-transport-wrapper
Advanced tools
A thin wrapper abstracting over ZMQ and (evenutally) websockets for Jupyter
Currently just provides a very simple layer on top of Jupyter ZMQ sockets. Will one day abstract over ZMQ or websockets for Jupyter.
Probably easier to use jupyter-session, which is built on this, for whatever you're doing.
var JupyterTransport = require('jupyter-session');
transport = new JupyterTransport(
{
version: 5,
signature_scheme: 'sha256',
key: '<the signing key>',
transport: 'tcp',
ip: '127.0.0.1',
hb_port: 60868,
control_port: 60869,
shell_port: 60870,
stdin_port: 60871,
iopub_port: 60872
},
<'handle to kernel process, if available'>
);
// use wildcards to get all messages on a channel
transport.on('shell.*', function(message) {
// message will be a jmp.Message
});
// send a JSON-formatted Jupyter message over the given channel
transport.send(channel, message);
// send the kernel an interrupt
transport.interrupt();
// close the sockets and kill the kernel
transport.close();
JupyterTransport is an EventEmitter, so you can use any of these methods: https://github.com/asyncly/EventEmitter2
FAQs
A thin wrapper abstracting over ZMQ and (evenutally) websockets for Jupyter
The npm package jupyter-transport-wrapper receives a total of 2 weekly downloads. As such, jupyter-transport-wrapper popularity was classified as not popular.
We found that jupyter-transport-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.