A tool for making simple Python GUIs

Alfio Puglisi 1965c7c9d5 Version 0.3.5 11 months ago
.github 079dcb34c4 Excluding progress bar example from spellcheck 11 months ago
docs 97322ea778 Documentation update 11 months ago
guietta 1965c7c9d5 Version 0.3.5 11 months ago
test eab0ea85fc Added action badge 11 months ago
.gitignore 8cd289354b added todo and howo files to .gitignore 1 year ago
CHANGELOG.md 1965c7c9d5 Version 0.3.5 11 months ago
LICENSE 5aede68eb4 Initial commit 1 year ago
README.md 93c8008f78 Added support for pyqtgraph 11 months ago
requirements.txt 1447fea3ca Changed QT binding to PySide2, version 0.3.0 1 year ago
setup.py e4a62b07a5 Fixing incompatibilites between GitHub's and PyPI's README format. 1 year ago

README.md

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.

Documentation

https://guietta.readthedocs.io/en/latest/

Tests