Currently hacking on an embeddable Python REPL, powered by Wasm/Pyodide.
My goal is to make it simple to get Python running on a website, just using a script tag/div:
<script src="https://cdn.jsdelivr.net/npm/pyrepl-web/dist/pyrepl.js"></script>
<div class="pyrepl"></div>
Then, optionally strap on attributes like data-theme="catppuccin-mocha" or data-packages="pydantic, requests, whatever" and everything is taken care of for you!
A WIP but https://github.com/savannahostrowski/pyrepl-web. Working example here too: https://savannah.dev/projects/