🚧 Migration in Progress
pywire is currently migrating from its original home at reecelikesramen/pyhtml. We are in the process of moving the core runtime, tooling, and documentation to this new organization. Expect rapid changes and some broken links as we settle into our new
.wirearchitecture.
pywire is a Python HTML-over-the-wire framework that combines server-side logic with reactive HTML templates in single .wire files. It bridges the gap between your backend and frontend with a persistent, real-time connection.
- ⚡️ Instant Reactivity: State changes on the server are reflected in the browser instantly via WebTransport/WebSocket.
- 🧬 Single-File Components: Write Python logic and HTML structure in one
.wirefile. - 🔋 Zero Boilerplate: No API endpoints, no serializers, no complex JavaScript build steps.
| Repository | Description |
|---|---|
| pywire | The core framework, CLI, and runtime. Start here. |
| vscode-pywire | Official VS Code extension for syntax highlighting and snippets. |
| pywire-language-server | The brain behind the tooling. LSP implementation for .wire files. |
| examples | Real-world examples. |
Coming soon. While we complete the migration, you can view the proof-of-concept code in the archived repository.