pyodide / pyodide-blog

The Pyodide blog
https://blog.pyodide.org
Mozilla Public License 2.0
15 stars 12 forks source link

Guest blog post: marimo, a Pyodide-powered reactive notebook for Python #41

Open akshayka opened 8 months ago

akshayka commented 8 months ago

Hello Pyodide maintainers!

I’m Akshay Agrawal. Myles Scolnick and I develop marimo, an open-source reactive notebook for Python that’s reproducible, stored as a Python file, executable as a script, and deployable as an interactive web app. I’m following up from a GitHub discussion in the Pyodide repo about authoring a guest blog post.

One of our goals with marimo is to make computing more accessible and portable. To that end, Pyodide has been invaluable: we recently ported our runtime to be compatible with Pyodide, making it possible to run marimo notebooks entirely in the browser. We’ve made this Pyodide-powered marimo notebook accessible via a playground at https://marimo.app. Our documentation outlines ways that our WASM notebook can be used.

Running entirely in the browser brings several benefits to our users. Thanks to Pyodide, our users can get started with marimo without even having Python on their machine. They can also easily share live, interactive versions of their notebooks/apps and embed notebooks in documentation and blog posts. Pyodide-powered notebooks are also in some cases snappier than notebooks powered by remote kernels, since they eliminate overheads associated with networking. Pyodide also helps with portability — one of our users even managed to get marimo working on Puter, with little effort.

We would love to write a blog post that elaborates on these benefits and discusses the changes that were required to make marimo compatible with Pyodide. Here is an outline:

hoodmane commented 8 months ago

Sounds good to me. Looking forward to it @akshayka!

ryanking13 commented 8 months ago

I'm looking forward to it, too!