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="cdn.jsdelivr.net/npm/pyrepl-we"></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 github.com/savannahostrowski/p. Working example here too: savannah.dev/projects/

0
0
0

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/savannah/statuses/115931363836135997 on your instance and quote it. (Note that quoting is not supported in Mastodon.)