~/talk

Writing Serverless Python Web Apps with PyScript

Talkat PyCon US 2023 · 2023-04-19..04-27· [web-platform, python]
links:none on file
slides:none on file

Claims: Python web apps run entirely in the browser (no server) by fetching runtimes and wheels over URLs. Tools actually used: PyScript with pyodide vs micropython runtimes, WASM, JS FFI (import JS interop), the browser virtual filesystem, and pisgrip.com for live coding. Concrete demos: a Pirate-translation UI built in ~10 minutes, an OpenCV Harris‑corner detector fetched as local modules that works in the page, video→canvas snapshots, geolocation and WebUSB control of a Lego robot. Caveats: C‑extension packages need special builds, CORS and load time issues appear, micropython support is experimental but progressing.

AI-written summary · about

  1. 0:00Introduction to PyScript
  2. 1:05Building PyScript apps
  3. 10:37Pirate translator app
  4. 27:18Web APIs for audio
  5. 32:40Break and troubleshooting
  6. 34:03Configuring pi-script.toml
  7. 1:09:10Python-JS interoperability
  8. 1:34:03PyScript plugins
  9. 1:50:57PyScript web APIs
  10. 2:15:05File I/O in PyScript
  11. 2:23:34AI-powered coding
  12. 2:35:16Lego robot demo
  13. 2:42:06PyScript future
  14. 2:55:19Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.