Skip to main content

QuantumGUI

Librería GUI nativa para Python acelerada por GPU (Skia + GLFW), diseñada 100% bajo los estándares de Material Design 3.

Sin navegador embebido, sin WebView y sin dependencias de otros toolkits GUI (tkinter, Qt o wx). Interfaz fluida a 120 FPS con API declarativa en bloques with, modificadores encadenables y Suite Empresarial completa.


Instalación

pip install quantumgui

Requiere Python 3.11+. Instala automáticamente skia-python, glfw y PyOpenGL.


Inicio Rápido

from quantumgui import Theme, ui

theme = Theme(seed="#6750A4", mode="light")
contador = ui.state(0)

win = ui.window("Mi Primera App", width=760, height=440, theme=theme, main=True)
with win:
    with ui.column(gap=16, align="stretch").padding(24):
        with ui.row(justify="space_between", align="center").fill_width():
            ui.text("QuantumGUI v1.0", role="headline_medium")
            ui.switch(
                label="Modo Oscuro",
                on_change=lambda d: setattr(theme, "mode", "dark" if d else "light"),
            )
        with ui.card(variant="elevated", gap=12):
            ui.text(lambda: f"Clicks: {contador.value}", role="title_large")
            ui.button("Sumar +1", icon="add", on_click=lambda: setattr(contador, "value", contador.value + 1))

win.run()

Características Principales (v1.2.0 — 100% Material Design 3 + M3 Expressive)

  • Renderizado 100% GPU nativo (Retained Mode): Skia + GLFW + OpenGL con invalidación por demanda (0% consumo en reposo), soporte HiDPI/4K, física M3 Expressive Spring y Ripple.
  • Los 6 Subsistemas Oficiales de Estilos M3 al 100%:
    • Color: Motor perceptual HCT con las 7 variantes de Dynamic Scheme (tonal_spot, vibrant, expressive, neutral, monochrome, fidelity, content), 3 niveles de contraste (standard, medium, high) y los 12 roles Fixed Accent (primary_fixed, primary_fixed_dim, on_primary_fixed, on_primary_fixed_variant + pares secondary y tertiary).
    • Typography: 30 roles oficiales (15 Baseline + 15 Emphasized) y separación de brand_font (Display/Headline) vs plain_font (Title/Body/Label).
    • Shape: Escala completa M3 Expressive de 10 niveles (none 0dp hasta extra_extra_large 48dp y full) + esquinas asimétricas (extra_large_top, large_end, etc.).
    • Motion & Transitions GPU: MotionScheme (expressive / standard) con los 6 tokens de Spring, 10 curvas cubic-bezier exactas (incluyendo emphasized de 2 segmentos), 16 tokens de duración (short1..extra_long4) y los 6 patrones de Transiciones GPU (ui.animated_switcher + ui.router(..., transition=...): fade_through, shared_axis_x/y/z, fade, container_transform).
    • Elevation: Niveles 0..5 con tint tonal y sombra ambiental/direccional GPU.
    • Icons: 4,304 íconos oficiales Google Material Symbols Rounded embebidos con soporte real de los 4 ejes variables (fill, weight, grade, optical_size).
  • Motor Universal de Estilos: .bg(), .fg(), .border(), .radius(), .shape(), .elevation(), .opacity(), .size(), .padding(), .margin(), .tooltip() en todos los controles.
  • 97 Controles M3 y 18 Gráficos GPU: botones, formularios avanzados (Autocomplete, TagInput, OTPInput, SignaturePad, DropZone, CurrencyInput), productividad (KanbanBoard, CalendarView, CommandPalette, PropertyGrid), transiciones (AnimatedSwitcher) y gráficos BI (Line, Bar, Donut, Candlestick, Treemap, Sankey, Waterfall, BoxPlot, Heatmap, Gantt, Sparkline).
  • Suite Empresarial:
    • ui.data_grid virtualizado en $O(1)$ para +100.000 filas a 120 FPS (page_size=100, virtualized=True, edición inline, totales, CSV y Excel .xlsx nativo).
    • ui.sql_source y ui.csv_source (conexión directa a SQLite, PostgreSQL, MySQL, SQL Server y SQLAlchemy con guardado UPDATE automático).
    • ui.rule_engine (reglas de negocio reactivas y campos calculados), ui.audit_log + ui.history (Undo/Redo), ui.master_detail, ui.pdf_report multipágina vectorial, ui.task_runner, ui.auth (RBAC), ui.i18n, ui.router, ui.preferences.
    • Ventanas personalizables (frameless, transparent, DWM Dark Mode y titlebar_color en Windows 10/11, on_file_drop, ui.set_main_window).
  • CLI oficial quantumgui:
    quantumgui info
    quantumgui new mi_erp --template erp
    python -m quantumgui run mi_erp/main.py --watch   # Hot-Reload automático
    quantumgui build mi_erp/main.py                   # Ejecutable standalone .exe
    

Hot-Reload en PyCharm (botón Play)

  1. En la terminal de PyCharm, asegurate de tener la última versión en el intérprete del proyecto:
    python -m pip install -U quantumgui
    
  2. Abrí Run → Edit Configurations… → + → Python.
  3. Cambiá script por module (Module name) y escribí: quantumgui.
  4. En Parameters, escribí: run main.py --watch (reemplazá main.py por tu archivo principal).
  5. En Working directory, dejá la carpeta raíz de tu proyecto y hacé clic en OK.
  6. Presioná el botón Play de PyCharm: cada vez que edites y guardes (Ctrl+S), la ventana se reiniciará automáticamente con los cambios.

Licencia

QuantumGUI Community & Commercial License v1.0 (ver LICENSE):

  • Gratis para uso personal, educativo, open-source y proyectos/empresas con ingresos brutos anuales menores a USD $25.000.
  • Licencia Comercial requerida para organizaciones o proyectos comerciales con ingresos brutos anuales iguales o superiores a USD $25.000.

Metadata

Release files for quantumgui 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quantumgui 1.2.2
File Size Uploaded Provenance Actions
quantumgui-1.2.2.tar.gz 6.9 MB Without provenance Details for quantumgui-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quantumgui 1.2.2
File Interpreter ABI Platform Actions
quantumgui-1.2.2-py3-none-any.whl Python 3 none any Details for quantumgui-1.2.2-py3-none-any.whl

Total release size: 13.8 MB

Release files / quantumgui-1.2.2.tar.gz

Download URL quantumgui-1.2.2.tar.gz
Size 6.9 MB
Tags Source
SHA-256 checksum
How to use checksums
552a863a7592eae411b57877fb2e075bea3c94e8529a5396d30d396bb9cdec52
BLAKE2b-256 checksum
How to use checksums
99c1d40138fb1a5193d16e5e9e784a37d87148f59b3172310503a73a65097567
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / quantumgui-1.2.2-py3-none-any.whl

Download URL quantumgui-1.2.2-py3-none-any.whl
Size 6.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
675e4ee5aca2ea4a6f7559a8f62cc1e0276a39a46b8a79d2873fab8bd6b99f41
BLAKE2b-256 checksum
How to use checksums
d957d42476208ce6c4b100887bc592d9adfd3bca221745518b846d75a19bc8de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Security for quantumgui 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page