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.1.0.tar.gz (9.7 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.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fletplus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9685451d7f385f5f48d4c96bc010e768f68bce6c56281dcbc812390b88a2cb38
MD5 2913bd226825e7ccd918db9a4db900ee
BLAKE2b-256 9b76c43463b5b49ef6e7f5f022c5f31995bd487d79cefa015eba15e9e1febe1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fletplus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4751503f3c3a0a120fe91aa6bc1ca1b54834d9aa5add1bdd671ce3d377fd43f
MD5 ce12f660428becbc4db4be4882eea50b
BLAKE2b-256 681f219a048b154e4ddebedd30b51494dbe49e1656e219c7e192a0c86d519ec6

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