<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/from-graveyard-to-glory-production-python-in-the-browser---mahmoud-hashemi-lypxuack5" -->

---
title: From Graveyard to Glory: Production Python in the...
description: A conference talk explores running production Python applications in the browser using Pyodide and WebAssembly, tracing the history of failed attempts...
canonical: https://daily.dev/posts/from-graveyard-to-glory-production-python-in-the-browser---mahmoud-hashemi-lypxuack5
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: From Graveyard to Glory: Production Python in the Browser - Mahmoud Hashemi | daily.dev
og:description: A conference talk explores running production Python applications in the browser using Pyodide and WebAssembly, tracing the history of failed attempts...
og:url: https://daily.dev/posts/from-graveyard-to-glory-production-python-in-the-browser---mahmoud-hashemi-lypxuack5
og:image: https://api.daily.dev/og/posts/lYPXuAcK5.png
og:image:alt: From Graveyard to Glory: Production Python in the Browser - Mahmoud Hashemi
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# From Graveyard to Glory: Production Python in the Browser - Mahmoud Hashemi

**[PyCon US](https://daily.dev/sources/pyconus)** · 28 min read · 1 upvotes · 0 comments

## Summary

A conference talk explores running production Python applications in the browser using Pyodide and WebAssembly, tracing the history of failed attempts (PyJamas, Silverlight, Skulpt, Brython) before showing a live demo where an AI agent quickly scaffolded a regex-testing app with Pyodide in a web worker. The talk highlights what the agent missed for production readiness: tests (Playwright), a proper UI framework (Svelte) instead of vanilla DOM, typed boundaries (Comlink) instead of raw postMessage, telemetry with a tunnel to avoid ad blockers, and proper worker state machines with SharedArrayBuffer for interruption. It closes with reflections on PEP 776's WASM tier-3 support, edge computing with Cloudflare Workers, and the idea that verifiability (tests, types, compilers, linters) is what makes agent-assisted development production-grade.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=YLZ6HrZSBrQ>

## Questions this post answers

### Can micropip in Pyodide install packages from a pylock.toml lock file?

Yes, micropip added support for installing from a pylock.toml file a couple of weeks before this discussion. However, this only works for packages already available in Pyodide's own package distribution rather than pulling directly from PyPI, so it is not expected to support arbitrary sources like git repositories.

_Developers wiring Pyodide into reproducible builds can track packaging changes like this one on daily.dev._

### What does PEP 776 add to CPython for WebAssembly support?

PEP 776 introduces official tier-3 support for WebAssembly as a CPython build target. This is expected to help formalize distributing WebAssembly wheels through the Python Package Index (PyPI), moving beyond Pyodide's current approach of maintaining its own separate JSON-based package index that trails PyPI.

_Teams planning WebAssembly packaging strategies can follow CPython build-target changes like this via daily.dev._

### What are the main gaps left when an AI coding agent scaffolds a Pyodide-based browser app?

An agent-built Pyodide app running a Python regex engine in a web worker lacked automated tests, used vanilla DOM instead of a UI framework, had no typed boundary for worker communication (just raw promises), and lacked telemetry and proper worker state management (only isReady/isLoading flags, allowing invalid states). Recommended fixes include Playwright for tests, Svelte for UI, Comlink for typed worker calls, a telemetry tunnel, and a state machine with SharedArrayBuffer for interruption.

_Developers pairing AI agents with browser Python work can weigh these production checklist items on daily.dev._

## Similar posts on daily.dev

- [Run Real Python in Browsers With Pyodide and WebAssembly](https://daily.dev/posts/run-real-python-in-browsers-with-pyodide-and-webassembly-87j5vxcj6) · The New Stack · 1 upvotes · 0 comments
- [GitHub - pyodide/pyodide: Pyodide is a Python distribution for the browser and Node.js based on WebAssembly](https://daily.dev/posts/github---pyodide-pyodide-pyodide-is-a-python-distribution-for-the-browser-and-node-js-based-on-weba-grvcda8dr) · Hacker News · 0 upvotes · 0 comments
- [Ruby on Rails on WebAssembly: A Full-Stack, In-Browser Journey](https://daily.dev/posts/ruby-on-rails-on-webassembly-a-full-stack-in-browser-journey-sewf0w4ys) · Ruby Flow · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#python](https://daily.dev/tags/python), [#webassembly](https://daily.dev/tags/webassembly), [#vibe-coding](https://daily.dev/tags/vibe-coding)

[View this post on daily.dev](https://daily.dev/posts/from-graveyard-to-glory-production-python-in-the-browser---mahmoud-hashemi-lypxuack5)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"From Graveyard to Glory: Production Python in the Browser - Mahmoud Hashemi","url":"https://daily.dev/posts/from-graveyard-to-glory-production-python-in-the-browser---mahmoud-hashemi-lypxuack5","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/from-graveyard-to-glory-production-python-in-the-browser---mahmoud-hashemi-lypxuack5"},"datePublished":"2026-08-25T18:58:24.060Z","dateModified":"2026-09-14T06:31:58.076Z","description":"A conference talk explores running production Python applications in the browser using Pyodide and WebAssembly, tracing the history of failed attempts...","image":"https://i.ytimg.com/vi/YLZ6HrZSBrQ/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/YLZ6HrZSBrQ/sddefault.jpg","isAccessibleForFree":true,"articleSection":"PyCon US","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"PyCon US","logo":"https://media.daily.dev/image/upload/s--DLedNxG1--/f_auto,q_auto/v1777800767/logos/pyconus?_a=BAMAMiWQ0","url":"https://daily.dev/sources/pyconus"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/from-graveyard-to-glory-production-python-in-the-browser---mahmoud-hashemi-lypxuack5","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,python,webassembly,vibe-coding","timeRequired":"PT28M","video":{"@type":"VideoObject","name":"From Graveyard to Glory: Production Python in the Browser - Mahmoud Hashemi","description":"A conference talk explores running production Python applications in the browser using Pyodide and WebAssembly, tracing the history of failed attempts...","thumbnailUrl":"https://i.ytimg.com/vi/YLZ6HrZSBrQ/sddefault.jpg","uploadDate":"2026-08-25T18:58:24.060Z","duration":"PT28M","url":"https://api.daily.dev/r/lYPXuAcK5","embedUrl":"https://www.youtube.com/embed/YLZ6HrZSBrQ"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PyCon US","item":"https://daily.dev/sources/pyconus"},{"@type":"ListItem","position":3,"name":"From Graveyard to Glory: Production Python in the Browser - Mahmoud Hashemi"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/from-graveyard-to-glory-production-python-in-the-browser---mahmoud-hashemi-lypxuack5#faq","mainEntity":[{"@type":"Question","name":"Can micropip in Pyodide install packages from a pylock.toml lock file?","acceptedAnswer":{"@type":"Answer","text":"Yes, micropip added support for installing from a pylock.toml file a couple of weeks before this discussion. However, this only works for packages already available in Pyodide's own package distribution rather than pulling directly from PyPI, so it is not expected to support arbitrary sources like git repositories. Developers wiring Pyodide into reproducible builds can track packaging changes like this one on daily.dev."}},{"@type":"Question","name":"What does PEP 776 add to CPython for WebAssembly support?","acceptedAnswer":{"@type":"Answer","text":"PEP 776 introduces official tier-3 support for WebAssembly as a CPython build target. This is expected to help formalize distributing WebAssembly wheels through the Python Package Index (PyPI), moving beyond Pyodide's current approach of maintaining its own separate JSON-based package index that trails PyPI. Teams planning WebAssembly packaging strategies can follow CPython build-target changes like this via daily.dev."}},{"@type":"Question","name":"What are the main gaps left when an AI coding agent scaffolds a Pyodide-based browser app?","acceptedAnswer":{"@type":"Answer","text":"An agent-built Pyodide app running a Python regex engine in a web worker lacked automated tests, used vanilla DOM instead of a UI framework, had no typed boundary for worker communication (just raw promises), and lacked telemetry and proper worker state management (only isReady/isLoading flags, allowing invalid states). Recommended fixes include Playwright for tests, Svelte for UI, Comlink for typed worker calls, a telemetry tunnel, and a state machine with SharedArrayBuffer for interruption. Developers pairing AI agents with browser Python work can weigh these production checklist items on daily.dev."}}]}
```

