safetyduck
safetyduck

Reputation: 6874

How to query ipython (jupyterlab?) kernel from javascript in the notebook?

You can write some html and js and display things in the notebook but what is the standard way of querying the "backend" ... i.e. sending requests to the python process driving the notebook?

Upvotes: 1

Views: 590

Answers (1)

Roland Weber
Roland Weber

Reputation: 3675

Use the Jupyter messaging protocol:
https://jupyter-client.readthedocs.io/en/stable/messaging.html

Upvotes: 1

Related Questions