An embeddable REPL powered by JupyterLite 💡 – February 22, 2022

jupyter jupyterlite repl

Long time no see!

For the past years I have been pretty busy contributing to open source projects within the Jupyter ecosystem on GitHub.

Most of my blog posts have then been published on the Jupyter Blog on Medium.

Here is a quick update of one the most recent Jupyter projects.

JupyterLite - Wasm powered Jupyter running in the browser 💡

One of the projects I have been busy with recently is JupyterLite.

JupyterLite is a JupyterLab distribution that runs entirely in the browser built from the ground-up using JupyterLab components and extensions.


The case for a standalone REPL

With JupyterLite you can create fully interactive static websites with the JupyterLab and RetroLab interfaces.

What makes it interesting is that you can also create custom applications with other JupyterLab widgets and extensions.

This gave the idea of creating a small and more minimal application to only expose a REPL to the users. The REPL can be easily embedded on existing websites.

This is for example the case on the website, which now includes an interactive code console powered by JupyterLite to let users try NumPy in the browser: website

Try it

Since it is easy to embed, you can add the REPL to almost any website with an IFrame. For example in this post:


Make sure to check out the JupyterLite documentation to learn how deploy your own website and start embedding REPLs!

comments powered by Disqus

By Jeremy Tuloup – 2018 – Theme by bootswatch (slightly tweaked)