Skip to main content

Una libreria Python per creare GUI moderne basate su SDL2

Project description

utiilityes

utiilityes è una piccola libreria Python pensata per creare GUI moderne e semplici, basate su SDL2.
L’obiettivo è offrire un’interfaccia fluida, leggibile e immediata, senza dover scrivere codice complesso.


✨ Caratteristiche

  • API semplice e leggibile
  • Creazione rapida di finestre e pulsanti
  • Sistema di callback per gestire eventi
  • Stile moderno basato su SDL2
  • Include un file example.py pronto all’uso

📦 Installazione

Dopo la pubblicazione su PyPI, sarà possibile installare la libreria con: pip install utiilityes


🚀 Esempio di utilizzo

Puoi trovare un esempio completo nel file example.py incluso nel pacchetto.

Ecco un estratto:

from utiilityes import Index

def saluto():
    print("Hai cliccato SALUTA!")

def esci():
    print("Esco...")
    raise SystemExit

ui = Index()

ui.init.win("GUI Moderna SDL2")\
      .size(600, 400)

ui.run_funct()\
  .text("Benvenuto nella GUI SDL2!")\
  .button("Saluta", action=saluto)\
  .button("Esci", action=esci)\
  .render()


## Licenza
Questo progetto è distribuito sotto licenza Apache 2.0. Vedi il file LICENSE per i dettagli.

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

utiilityes-0.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

utiilityes-0.2.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: utiilityes-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for utiilityes-0.2.0.tar.gz
Algorithm Hash digest
SHA256 397815e264987aa44440dad1446cd97e9fe4bf18da02113d3b61c0c3b71b5fe9
MD5 b9d3285db3acfd5ae9b705968ba214cd
BLAKE2b-256 ed9f133c5aeb57ecbe74ad21ab920475e946dddbc1a503437207905edd27902a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: utiilityes-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for utiilityes-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f25118aeab2346f29983500a25dd3e2dc3173e485b9bb81c2350d1144eb5913e
MD5 48241005f097db3cae8138425edd5ac7
BLAKE2b-256 3c37f36a4b1fee58e3357ceff26b3bb83341dc9ff566aada42c48659cb1541ea

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