vdt / guietta

Home Page:http://www.guietta.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Installation

pip install guietta

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

Documentation

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

About

http://www.guietta.com

License:MIT License


Languages

Language:Python 100.0%