routelit¶
routelit is a Python framework for building interactive web user interfaces that are framework-agnostic and easy to use. It allows you to create dynamic web applications with a simple, declarative API similar to Streamlit, but designed to work with any HTTP framework (Flask, FastAPI, Django, etc.).
β¨ Features¶
- Framework Agnostic: Works with any Python web framework (Flask, FastAPI, Django, etc.)
- Declarative UI: Build interfaces using simple Python functions
- Interactive Components: Buttons, forms, inputs, selects, checkboxes, and more
- State Management: Built-in session state management
- Reactive Updates: Automatic UI updates based on user interactions
- Fragment Support: Partial page updates for better performance
- Flexible Layouts: Containers, columns, flex layouts, and expandable sections
- Rich Content: Support for markdown, images, and custom styling
π Installation¶
Install routelit using pip:
pip install routelit