| 🇺🇸 English | 🇧🇷 Português | 🇪🇸 Español |
Fleting is an opinionated micro-framework built on top of Flet, focused on:
- Simplicity
- Clear organization
- Productivity
- Cross-platform applications (mobile, tablet, and desktop)
Ele traz uma arquitetura inspirada em MVC, com layout desacoplado, roteamento simples, i18n, responsividade automática e um CLI para geração de código.
It brings an MVC-inspired architecture with decoupled layout, simple routing, i18n, automatic responsiveness, and a CLI for code generation.
pip install flet
pip install fleting
fleting init
fleting run
# for development
fleting create page home
flet run fleting/app.pyComplete documentation is available at:
O Fleting foi criado com alguns princípios claros:
- No unnecessary abstractions
- Explicit and easy-to-understand code
- Predictable architecture
- View → Pure UI (Flet)
- Layout → Reusable visual structure
- Controller → Business rules
- Model → Data
- Router → Navegação
- Core → Framework infrastructure
- The global application state automatically identifies:
mobiletabletdesktop
- Layouts can dynamically react to device type
- Simple JSON-based translation system
- Real-time language switching
- Translations accessible anywhere in the app
- Standardized file creation and removal
- Reduced boilerplate
- Convention > Configuration
MIT

