Skip to main content

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:

  1. Haz un fork

  2. Crea tu rama: git checkout -b feature/nueva-funcionalidad

  3. 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


Download files

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

Source Distribution

fletplus-0.2.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

fletplus-0.2.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file fletplus-0.2.0.tar.gz.

File metadata

  • Download URL: fletplus-0.2.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for fletplus-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2501b2d98eabed9f2720361234a2238a62b6211d3791916df29c92bca9b547ff
MD5 be914a6a9d3f0ae43cd97b8fccae531f
BLAKE2b-256 4014ca7399b6bcf2cd77ee673f6e0cb07d4c189f6945a90f1138ae476055f449

See more details on using hashes here.

File details

Details for the file fletplus-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fletplus-0.2.0-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

Hashes for fletplus-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe2458d4bac1053b4d42cd19d4899c4902ce95ac77893b35a645d4b9709d91da
MD5 82ffd7a5f2f3514c14af0214754aeb70
BLAKE2b-256 950818311bc16fd5e9b8404dc8daa0939a05218e4cd0e5c791044e8bbf4ad1f6

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