
Talk Python To Me #535: PyView: Real-time Python Web Apps
25 snips
Jan 23, 2026 Larry Ogrodnek, software developer and creator of PyView, brings Phoenix LiveView style real-time patterns to Python. He explains server-managed state with WebSocket diffs and how templates map to render trees. They explore event handling, JS hooks for rich front-end libs, T-Strings and Pythonic APIs, and deployment and scaling trade-offs for real-time Python web apps.
AI Snips
Chapters
Transcript
Episode notes
Server-Driven Live UI With Minimal Diffs
- PyView centralizes UI state on the server and sends minimal diffs to the browser over WebSockets for SPA-like interactivity.
- This reduces client-side glue code and keeps application logic in Python where the developer already works.
Leverage Phoenix LiveView Client, Python Server
- PyView reuses the Phoenix LiveView client JavaScript and implements a Python backend that speaks the same message patterns.
- That lets PyView leverage LiveView's diffing and client design while keeping server code in Python.
Use The Cookiecutter To Start Fast
- Start a PyView project using the provided cookiecutter to get a working counter example and project layout instantly.
- Run poetry install and the included Just tasks to launch the app locally and inspect WebSocket messages in the browser dev tools.
