Overview of PyWry for Python UI development
PyWry is a framework for creating user interfaces in Python without requiring a separate frontend development process. It allows developers to write a single Python codebase that can be deployed across different environments: as a desktop application, in a web browser, or within a Jupyter notebook.
Key capabilities include:
- Declarative interface description using models to avoid manual layout/markup.
- Use of native webviews via PyTauri (avoiding the overhead of Electron).
- Built-in support for Jupyter notebooks for rapid prototyping.
- Out-of-the-box integration with FastAPI and WebSockets for web deployments.
- A Python ↔ JavaScript bridge for implementing complex elements like charts and tables.
PyWry is particularly suited for ML projects, data-driven applications, and scenarios where a lightweight solution without heavy runtimes is required.