Skip to main content

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

Project description

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


⚡ Fleting Framework

Fleting é um micro-framework opinativo construído sobre Flet, focado em:

  • simplicidade
  • organização clara
  • produtividade
  • aplicações multiplataforma (mobile, tablet e 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.

🚀 Quick Start

1. crie um ambiente virtual isolado

🛠️ CLI

pip install flet
pip install fleting

fleting init
fleting run

# para desenvolvimento
fleting create page home
flet run fleting/app.py

📚 Documentação

A documentação completa está disponível em:

👉 documentação completa


🎯 Filosofia

O Fleting foi criado com alguns princípios claros:

1️⃣ Simplicidade acima de tudo

  • Nada de abstrações desnecessárias
  • Código explícito e fácil de entender
  • Arquitetura previsível

2️⃣ Separação de responsabilidades

  • View → UI pura (Flet)
  • Layout → Estrutura visual reutilizável
  • Controller → Regras de negócio
  • Model → Dados
  • Router → Navegação
  • Core → Infraestrutura do framework

3️⃣ Mobile-first

  • O estado global da aplicação identifica automaticamente:
    • mobile
    • tablet
    • desktop
  • Layouts podem reagir dinamicamente ao tipo de dispositivo

4️⃣ Internacionalização nativa

  • Sistema de tradução simples baseado em JSON
  • Mudança de idioma em tempo real
  • Traduções acessíveis em qualquer parte da app

5️⃣ CLI como cidadão de primeira classe

  • Criação e remoção de arquivos padronizados
  • Redução de boilerplate
  • Convenção > Configuração

📄 Licença

MIT

Como contribuir

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.4.tar.gz (9.9 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.4-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fleting-1.1.4.tar.gz
  • Upload date:
  • Size: 9.9 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.4.tar.gz
Algorithm Hash digest
SHA256 773610dce7d95091c60461230a23cab1dacb7dc2c78f735b97598b6a9c4f06a5
MD5 1aa4c2c8d0454c888a8e937abb5df10c
BLAKE2b-256 5a728719ef5ca5716d124888fc34537a96f59e87b67b8efd67d2697900e0da6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fleting-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 19.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 322a5a46cddb2f81e2b6e3c8b9fbf49b1d2e32735c53e2b431d22a1afd65096f
MD5 85673b25225816e71e7c13b148622b41
BLAKE2b-256 acc2a28459996fd4cb7e8f0723bb15762d72f8858036460ea2bc30504a285fba

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