You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package provides a GraphQL API for managing communication between a
Jupyter kernel and front-end clients. The package allows users to control and
monitor kernels.
Through GraphQL queries and mutations, the API enables the user to launch
kernels, subscribe to the status of a kernel, send Jupyter messages from a
client to a kernel, and more.
The architecture diagram below shows how the kernel-relay sits alongisde Jupyter kernels
and serves clients.
Installation
$ yarn add @nteract/kernel-relay
$ npm install --save @nteract/kernel-relay
Developer Installation
To get started developing on kernel-relay, you'll need to clone this repository.
Then, you'll need to install the dependencies within this repository.
$ yarn
OR
$ npm install
You can then run the GraphQL server with a playground UI.
$ yarn start
Docker Setup
To run an instance of the kernel-relay within a Docker container, you can execute the following commands. Note that you will need to have Docker installed on your machine.
First, run the following in the cloned directory to build a Docker image.
We're working on adding more documentation for this component. Stay tuned by
watching this repository!
Support
If you experience an issue while using this package or have a feature request,
please file an issue on the issue board
and, if possible, add the pkg:kernel-relay label.