Skip to main content

Simple GUI for Python

Project description

guietta

A tool for making simple Python GUIs

Guietta is a tool that makes simple GUIs simple:

from guietta import _, Gui, Quit
gui = Gui(
	[ "Enter numbers:",  "__a__", "+", "__b__", ["Calculate"] ],
	[    "Result: -->", "result",   _,       _,             _ ],
	[                _,        _,   _,       _,          Quit ]
)

with gui.Calculate:
	gui.result = float(gui.a) + float(gui.b)

gui.run()

And here it is:

Example GUI

Also featuring:

  • matplotlib and pyqtgraph integration, for easy event-driven plots
  • easily display columns of data in labels using lists and dicts
  • multiple windows
  • customizable behaviour in case of exceptions
  • queue-like mode (a la PySimpleGUI)
  • integrate any QT widget seamlessly, even your custom ones (as long as it derives from QWidget, it is OK)
  • easy background processing for long-running operations
  • ordinary QT signals/slots, accepting any Python callable, if you really want to use them

Installation

pip install guietta

If you use conda, please read our page on QT incompatibilities with conda.

Install on older platforms

Guietta uses the PySide2 QT binding by default, and some systems (older Macs, Raspberry PI) do not have it available. Guietta can fallback to the PyQt5 binding if available, but does not specify it as an automatic dependency. If you get an installation error about PySide2, try to use PyQt5 instead using the following:

    pip install guietta --no-deps
    pip install pyqt5

Documentation

Stable version: https://guietta.readthedocs.io/en/stable/

Latest update from github: https://guietta.readthedocs.io/en/latest/

Tests

Documentation Status

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

guietta-1.6.3.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

guietta-1.6.3-py2.py3-none-any.whl (51.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file guietta-1.6.3.tar.gz.

File metadata

  • Download URL: guietta-1.6.3.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for guietta-1.6.3.tar.gz
Algorithm Hash digest
SHA256 284698ffce06455e984fb3589cf4f4809c16aac00b1f15fd44e7240a8a7a5bff
MD5 208d11f5959a640f342c2637172ae6d5
BLAKE2b-256 9f18ef18c73af24a7e2c083d8a7e9cd390eb360b93198bb558f5c0af958a7eb6

See more details on using hashes here.

File details

Details for the file guietta-1.6.3-py2.py3-none-any.whl.

File metadata

  • Download URL: guietta-1.6.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 51.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for guietta-1.6.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a1863f601e5f95cb6d9437cfe7ac071dadf7ffe7df86d889a2de0cb06a5fb6b
MD5 00c33c7a0ab24186e6010ecc1f63cc59
BLAKE2b-256 b6e9703efb24d11abb51700141bc9ab6df0fcb95997c2d409aded61f9b2a6f59

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page