Your app is async so take advantage of it for development!
summary
An asyncio app runs an in-process HTTP/websocket server that exposes a remote REPL and remote canvas visualizations implemented as Python draw methods borrowed from Processing; those draw calls run only when a client connects (about 10 frames/sec), assemble JS canvas commands and broadcast them to all viewers. The tool Pura is liberally licensed, widely adopted on the project, imposes zero overhead when not observed, and the team reports development and QA literally stop if it is removed.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 2:38The Need for Live Inspection
- 3:29Approaches to Displaying State
- 4:52Using a REPL for Inspection
- 5:55Remote Access for Debugging
- 6:30Real-time State Logging
- 9:09Graphical Visualizations
- 10:44Implementing Tool Accessibility
- 13:33Decoupling with Async
- 14:10Async in Python Applications
- 16:01Tool Adoption and Impact
- 17:06Introducing Pura
- 17:43Pura Library Demo
- 20:33API Design and Processing
- 21:41Pura Architecture
- 23:23Future Work and Conclusion
related talks
40mAsyncio Stack & React.js or Development on the Edge
35mA Live Programming Experience
28mPython Apps in the Browser made simple by PyCafe
30mLet's get you started with asynchronous programming
29mFrom Graveyard to Glory: Production Python in the Browser
01h 49mBuilding Web-based Analysis & Simulation Platforms
47mPython on the Client Side Web
16mBuilding Interactive UIs in VS Code with MCP Apps
