Skip to main content

BetterGuiSpark ⚡

BetterGuiSpark is a simple and powerful GUI framework built on top of PyQt6.

Features

  • Easy widget creation
  • Event handling (keyboard + mouse)
  • Built-in themes
  • File handling
  • Validation system

Example

from BetterGuiSpark import GuiSpark

gui = GuiSpark(
    title="Teste set_font_size",
    width=500,
    height=300
)

gui.set_theme("dark")

# =====================
# Widgets
# =====================

texto = gui.add_widget(
    "label",
    x=40,
    y=40,
    width=400,
    height=40,
    text="BetterGuiSpark - Testando Font Size"
)

# Define tamanho inicial
gui.set_font_size(texto, 16)


# =====================
# Funções
# =====================

def aumentar():
    gui.set_font_size(texto, 28)

def diminuir():
    gui.set_font_size(texto, 12)

def gigante():
    gui.set_font_size(texto, 40)


# =====================
# Botões
# =====================

botao=gui.add_widget(
    "button",
    x=40,
    y=120,
    width=120,
    height=40,
    text="12 px",
    command=diminuir
)

gui.add_widget(
    "button",
    x=180,
    y=120,
    width=120,
    height=40,
    text="28 px",
    command=aumentar
)

gui.add_widget(
    "button",
    x=320,
    y=120,
    width=120,
    height=40,
    text="40 px",
    command=gigante
)

gui.run()

Metadata

Release files for BetterGuiSpark 0.1.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 BetterGuiSpark 0.1.2
File Size Uploaded Provenance Actions
betterguispark-0.1.2.tar.gz 10.6 kB Without provenance Details for betterguispark-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 21.2 kB

Release files / betterguispark-0.1.2.tar.gz

Download URL betterguispark-0.1.2.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d056c70a617ef8e43ee51f783883252ca0fea32f5d094593c3f05da9b76f25ab
BLAKE2b-256 checksum
How to use checksums
59ad821a58e5e3fa2dc771bb0f82b0f041803e249e19eda1517d42e46b570a57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / betterguispark-0.1.2-py3-none-any.whl

Download URL betterguispark-0.1.2-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b4155a394666451b15384b5f5b2fc8d3c4ad67f246d74134eb620e77e1403c8
BLAKE2b-256 checksum
How to use checksums
ad21b6749446a02a4f4550be33694606a698eb8c92dc0f801eac0856e51eb48f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Security for BetterGuiSpark 0.1.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