The marvelous world of Python in Browser: a nice surprise
summary
Pyscript runs real Python in the browser using Pyodide (full CPython with many scientific libs, ~8 MB) or MicroPython (tiny loader ~100–170 KB) and lets code execute anywhere a browser runs — TVs, Teslas, phones. The team serves 1.5–2M projects/month with negligible hosting cost by shifting compute to clients. Demonstrations include a Firebase-backed multi-tenant to‑do app generated by AI, an offline WebLLM/Gemini‑Nano demo, a 3D browser game, and early server‑side rendering via PEP 750 t‑strings experiments — all working with tradeoffs in load time and secrets.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:30Experiment
- 8:51Why Python
- 11:01How it works
- 17:38Challenges
- 20:05Landing Page
- 21:36Starting with Pliger
- 23:28Getting started with Pliger
- 24:17Use cases
- 27:50Piscript for AI
- 32:36Gaming
- 33:48Bonus
- 36:59Questions
related talks
33mPython in the browser
39mPyScript - Python in the Browser
30mNext Level Python Applications with PyScript
02h 55mWriting Serverless Python Web Apps with PyScript
23mRunning (snippets of) Python in the browser
01h 39mPyScript - Writing a Python application in the browser
45mHow to run Python in the browser
41mPyodide: A Python distribution for the browser
