Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Jupyter kernels accessed via markdown forms in md lesson area #66

Open
psychemedia opened this issue May 8, 2019 · 1 comment
Open

Comments

@psychemedia
Copy link

Putting this down as a marker for ways in which the markdown component of the lessons could be backed with interactive code executed using a pseudo-remote Jupyter kernel (by which I mean a kernel running in a container in the current users lab context; eg in a Jupyter server kernel launched via the lesson plan config) or where the md/html panel is being served more directly from a Jupyter server (I think scriptedforms serves HTML pages via a Jupyter server, erm maybe?)

This would allow Jupyter kernel backed code to be executed, and the code execution results displayed, from within the markdown scripted element of a lesson rather than a notebook.

There are several demonstrations in the wild of HTML based UIs fronting calls to remote Jupyter servers that process code in a Jupyer kernel environment and return results for display in the HTML page.

For example:

  • DS100 textbook based on jupyter-book;
  • spaCy course, which uses the juniper.js package to launch Jupyter kernels on MyBinder and interact with them from an arbitrary web page;
  • scriptedforms which let you create md+webform UIs with code execution in a backend Jupyter kernel;
  • thebelab which lets you edit and execute code in a remotely launched Jupyter kernel;
  • voila, which executes "safe" (not arbitrary) code in a remotely launched Jupyter kernel (I think!)
@Mierdin
Copy link
Member

Mierdin commented May 9, 2019

This is all really cool! Thanks for sharing - this would definitely give authors some options for sharing their snippets.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants