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.
YOUTUBE: id=ABVn6uMG1OI
Links from the showGuests 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
SponsorsAWS Insiders
Local Maximum Podcast
AssemblyAI
Talk Python Training