Componentes visuales avanzados para Flet en Python
Project description
🚀 FletPlus
FletPlus es una librería de componentes visuales y utilidades para acelerar el desarrollo de interfaces modernas en Python usando Flet.
Proporciona un conjunto de controles personalizables como tablas inteligentes, grillas responsivas, barras laterales, gestores de tema y estructura modular de apps.
📦 Instalación
pip install fletplus
- Requiere Python 3.9+ y flet>=0.27.0
🧩 Componentes incluidos
| Componente | Descripción |
|---|---|
SmartTable |
Tabla con paginación y ordenamiento integrados |
SidebarAdmin |
Menú lateral dinámico con ítems y selección |
ResponsiveGrid |
Distribución de contenido adaptable a pantalla |
ThemeManager |
Gestión centralizada de modo claro/oscuro |
FletPlusApp |
Estructura base para apps con navegación y tema |
🧪 Ejemplo rápido
import flet as ft
from fletplus.components.smart_table import SmartTable
def main(page: ft.Page):
rows = [
ft.DataRow(cells=[ft.DataCell(ft.Text("1")), ft.DataCell(ft.Text("Alice"))]),
ft.DataRow(cells=[ft.DataCell(ft.Text("2")), ft.DataCell(ft.Text("Bob"))]),
]
table = SmartTable(["ID", "Nombre"], rows)
page.add(table.build())
ft.app(target=main)
🔧 Estructura del proyecto
fletplus/ ├── components/ │ ├── smart_table.py │ ├── sidebar_admin.py │ └── responsive_grid.py ├── themes/ │ └── theme_manager.py ├── core.py ← Clase FletPlusApp
📋 Tests
Todos los componentes están cubiertos por tests unitarios (ver carpeta tests/).
pytest --cov=fletplus
🛠️ Contribuir
Las contribuciones son bienvenidas:
-
Haz un fork
-
Crea tu rama: git checkout -b feature/nueva-funcionalidad
-
Abre un PR explicando el cambio
📄 Licencia
MIT License
Copyright (c) 2025 Adolfo González
💬 Contacto
Desarrollado por Adolfo González Hernández.
email: adolfogonzal@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fletplus-0.2.1.tar.gz.
File metadata
- Download URL: fletplus-0.2.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
559fdd2ff552412a941a06e2d38e4af6eb5aa65caf764359c62084c34213dfd9
|
|
| MD5 |
8af4ac86e5c979746c7866d05115387c
|
|
| BLAKE2b-256 |
b6df2361a704cb01b9cdab7d6d116d0865ec41299aba90353f1c4e0b1b7f7c8e
|
File details
Details for the file fletplus-0.2.1-py3-none-any.whl.
File metadata
- Download URL: fletplus-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15ebe7123b87afc22c0fd553b90a4c369c04743265ca14034ecbf42690a8c007
|
|
| MD5 |
a47c3f2486e709c3dbaa9d87e48be4e4
|
|
| BLAKE2b-256 |
ff71cd03acc672bdb486246d57b635b69472b12a0628a8a56f7cc742a2a70968
|