HNHacker News
TopNewBestAskShowJobs

alfiopuglisi

204 karma · joined July 1, 2020

submissionscomments
alfiopuglisi··on Guietta – Python module to create simple GUIs
Thanks for the heads up. I confess that I did not look deeply into library licenses while setting up the project. I will add a note about PySide2 being LGPL in the readme.
alfiopuglisi··on Guietta – Python module to create simple GUIs
Yes, I was inspired by PySimpleGUI (and say as much in the introduction: https://guietta.readthedocs.io/en/latest/intro.html ). But I felt that PySimpleGUI did not go far enough in making things simple. It also supports multiple backends, so that may be a reason to keep things more structured. Guietta is just a thin wrapper over QT.
alfiopuglisi··on Guietta – Python module to create simple GUIs
If you get around to test it, I would love to hear the results :)
alfiopuglisi··on Guietta – Python module to create simple GUIs
Actually I started to develop Guietta exactly because using the QT GUI builder (Qt designer) was often too time consuming for simple applications.

Designer works great for GUIs with complex layouts. Having an intermediate XML representation puts a lot of distance between your code and your GUI. Sometimes this is good, other times is not. I rant a bit about this at the start of the introduction: https://guietta.readthedocs.io/en/latest/intro.html

alfiopuglisi··on Guietta – Python module to create simple GUIs
Hello, author here. I have tested Guietta on two different macs (mine and a coworker's) and it worked in both cases. There is no variable called 'loader' in Guietta's source code. Are you trying the example in the github readme, or a custom script? Which MacOS version? If you wrote your own script.py, could you please copy it into a github issue?
alfiopuglisi··on Guietta – Python module to create simple GUIs
Hello, Guietta author here. For most widgets, the name is derived from the widget text removing all non-alphanumeric characters. So in your example it would become gui.Calculateit

It is also possible to set a custom name using a tuple syntax (widget, 'name'). Like this: (['Calculate'], 'myname')

alfiopuglisi··on Show HN: Guietta, a new module to quickly assemble Python GUIs
Don't know if it is bad form to comment on my own post, but anyway..

Guietta (pronounced gui-etta, rhymes with Henrietta) is a wrapper over QT that makes creating simple GUIs a breeze. I was inspired by PySimpleGUI, which had some great ideas but in my opinion did not go far enough. Guietta lets you literally draw the GUI in your python code, with a minimalist syntax. No QT knowledge needed. Have a look at the intro and tutorial on readthedocs (scroll to the bottom for the intro and tutorial links).

It was started as a weekend project, but turned out much better than I expected. I want to share it because, to my knowledge, there is nothing approaching it in sheer speed and simplicity to make Python GUIs.

If you find any bugs, I'll be happy to fix them, or create a pull request on github!

← PreviousPage 3 of 3