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:
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
guietta-0.3.5.tar.gz
(24.8 kB
view hashes)
Built Distribution
Close
Hashes for guietta-0.3.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9a4cf9b3b8bac6ebf5fdb358d481e113d8965e73bbb8c253faedaf0406ab65a |
|
MD5 | 884ec34780ce97e801764a09c4d698f0 |
|
BLAKE2b-256 | 800808b9e63c7aba8652284d4dafe5b60a6ad68741a4b7cac74fe9e894c74b7f |