Skip to main content

Micro-framework MVC baseado em Flet para aplicações mobile, tablet e desktop

Project description

| 🇺🇸 English | 🇧🇷 Português | 🇪🇸 Español |


Fleting Framework

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.

🚀 Quick Start

1. Create an isolated virtual environment

🛠️ CLI

pip install flet
pip install fleting

fleting init
fleting run

# for development
fleting create page home
flet run fleting/app.py

📚 Documentation

Complete documentation is available at:

👉 Full documentation


🎯 Philosophy

O Fleting foi criado com alguns princípios claros:

1️⃣ Simplicity above all

  • No unnecessary abstractions
  • Explicit and easy-to-understand code
  • Predictable architecture

2️⃣ Separation of responsibilities

  • View → Pure UI (Flet)
  • Layout → Reusable visual structure
  • Controller → Business rules
  • Model → Data
  • Router → Navegação
  • Core → Framework infrastructure

3️⃣ Mobile-first

  • The global application state automatically identifies:
    • mobile
    • tablet
    • desktop
  • Layouts can dynamically react to device type

4️⃣ Native internationalization

  • Simple JSON-based translation system
  • Real-time language switching
  • Translations accessible anywhere in the app

5️⃣ CLI as a first-class citizen

  • Standardized file creation and removal
  • Reduced boilerplate
  • Convention > Configuration

📄 License

MIT

How to contribute

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fleting-1.1.34.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fleting-1.1.34-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file fleting-1.1.34.tar.gz.

File metadata

  • Download URL: fleting-1.1.34.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for fleting-1.1.34.tar.gz
Algorithm Hash digest
SHA256 687de647a6de87b292f0d3550fd5b5bfab4798890e7726b2cb4c7d914c89f7b3
MD5 1b619d40cbe6f88b9b9cd8c9318c40ed
BLAKE2b-256 369a1cbd75f9ff970aff3eb7fd4a10bdb8d3f1a20487a7ad2bec6624c17ec468

See more details on using hashes here.

File details

Details for the file fleting-1.1.34-py3-none-any.whl.

File metadata

  • Download URL: fleting-1.1.34-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for fleting-1.1.34-py3-none-any.whl
Algorithm Hash digest
SHA256 3f2fc2268aae5c2bbd9c0b6446b969c105088ff0db909e6ffa5098aaaf061f38
MD5 79d577639d4b7e9b75aca09863809c89
BLAKE2b-256 c3bccb04f33d908e44a2d4b2e1719fdee0dfb9b42c548df949a2fc662eed82fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page