Monitor performance issues & errors in your code

Pyscript powered by MicroPython

Episode #391, published Tue, Nov 29, 2022, recorded Mon, Nov 21, 2022

No Python announcement of 2022 was met with more fanfare than pyscript. This project, announced at PyCon 2022, allows you to write Python files and run them in your browser in place of JavaScript or even with interactions between Python and JavaScript. There was just one catch: The runtime download was a 9MB WebAssembly file. That made its uses quite limited.

On this episode, we dive into some news that might change that calculus. The MicroPython and PyScript folks have been teaming up to get PyScript running in the browser on MicroPython. Yes, that's the embedded chip Python. Here's the good news: MicroPython's WebAssembly is just 300k to download and loads in under 100ms. Now that could unlock some possibilities.

We have Brett Cannon, Nicholas Tollervey, and Fabio Pliger on the show to discuss.

Watch this episode on YouTube
Play on YouTube
Watch the live stream version

Links from the show

Guests and Host Links
Brett Cannon: @brettcannon@fosstodon.org
Nicholas Tollervey: @ntoll@mastodon.social
Fabio Pliger: @b_smoke
Michael Kennedy: @mkennedy@fosstodon.org

Web Assembly: developer.mozilla.org
pyodide: pyodide.org
micropython: micropython.org
Picture of TFT ESP32 Board: pythonbytes.fm
pyscript: pyscript.net
Simon Willison's Post About micropython + pyscript: fedi.simonwillison.net
WASI: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon