r/learnpython • u/xtotdam • Feb 20 '24
What python GUIs do you recommend?
Hi all! With the recent planned 'sunset' of pySimpleGUI 4 and questionable license for psg 5 which GUI library do you recommend? About my work: I'm a scientist in a field on nanophysics and I have to put many graphs into my programs and prefer GUI building to be the lesser problem;)
Upd: I worked for a year or so with psg but now want to move
Upd2: Big thanks to all of you for the suggestions! If anyone curious, I settled with DearPyGUI as it seems to meet all my needs and isn't (sorry) web-based.
Upd3: Their digital signature is so broken, it required like 30 minutes to tamper their code LOL
111
Upvotes
1
u/Quillox Feb 20 '24 edited Feb 20 '24
I have to recommend you make a web app, it will make sharing you results much easier. Use Django and follow the model view control pattern. Making a relational database for your data is a fantastic exercise and will again make your data more accessible.
Some people recommend Flask because it is "simpler", but I'd argue that using Django from the beginning and not using their more complex features is just as simple. And it has the added bonus of when you eventually want to use these features, and you will at some point, Django makes it much easier.
ETA: Try out Plotly for your graphs! It's a very simple way of getting interactive graphs. Just export them as html that can be directly used in the Web app.