Pytml: Python in Your HTML with a Single Script Tag

I’m the creator of Pytml, an open-source project that lets you write Python directly inside HTML and execute it in the browser using Pyodide. The idea is simple: add one script tag, write Python in a <py> block, and let Pyodide provide the Python runtime. <script src="https://pytml.vercel.app/pytml.js"></script> <py> print("Hello from Python!") </py> There is no Python server involved. The Python code runs in the browser. I originally built Pytml to make the first step into interactive web programming easier for people who already know, or are learning, Python. Along the way, the project became an experiment in how a relatively small JavaScript layer can connect Python to the browser DOM. ...

October 19, 2026 · 18 min · ASWANTH R

Visual Low/No Code Data Preparation and Analysis Web App Built with Pyodide and React

Hello, my name is Raul Andrial and I am a software engineer located in Miami, FL, USA. I created a proof of concept web app with Pyodide that allows users to use the pandas library without needing to code but can use code if they want to. The app uses a drag and drop interface. I also included functionality for plotting with matplotlib and linear regression using scikit-learn. You can read more about it here. ...

July 27, 2024 · 4 min · Raul Andrial

marimo: a reactive Python notebook that runs in the browser

We’re Akshay Agrawal and Myles Scolnick, and we’re the developers of marimo, an open-source reactive notebook for Python. In this post, we’ll describe how we ported marimo to work via Pyodide, and why we’re incredibly excited about the potential of Pyodide to make computing more accessible. What is marimo? marimo is an open-source reactive notebook for Python built from the ground up to solve well-known problems with traditional notebooks, including reproducibility, interactivity, maintainability, and shareability. ...

April 8, 2024 · 7 min · Akshay Agrawal, Myles Scolnick

Pandas Tutor: Using Pyodide to Teach Data Science at Scale

Pandas Tutor is a data science education tool that visualizes how pandas code transforms dataframes. In this guest post we discuss how we ported it to run 100% in-browser with Pyodide.

May 12, 2022 · 9 min · Sam Lau, Philip Guo

React in Python with Pyodide

From web servers to end-to-end Data pipelines, Python has become a ubiquitous tool for building all sorts of programs and software. With powerful built-in libraries and an incredible number of third-party libraries, the Python ecosystem makes it easy to quickly get your project started. In fact, building user interfaces (UIs) is not an exception: PyQT allows you to create cross-platform desktop applications, whereas libraries like Dash allows you to create full-fledged web applications (including the UI) within a single Python script. ...

January 19, 2022 · 10 min · Xing Han Lu