r/learnpython • • 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

68 comments sorted by

View all comments

35

u/Allanon001 Feb 20 '24

Flet or Nice GUI. Both allow for web or desktop apps and have chart, diagram, and table widgets built in.

4

u/MasturChief Feb 20 '24

+1 for nicegui

3

u/xtotdam Feb 20 '24

Wow, thanks, I will look into these in the future, they look promising

3

u/Timoroader Feb 20 '24

I have used NiceGUI for prototyping and simple applications, works really well. Can only recommend it.

2

u/moonandeye Feb 20 '24

I saw Nice GUI repo, it’s awesome. Maybe I’ll try it next time

1

u/Defalt0_0 Mar 04 '25

looks wonderful, thank you.

0

u/[deleted] Feb 20 '24

[deleted]

2

u/d_a_v_e_h Feb 20 '24

Not sure about flet, but you can do that using DroidScript.... they've just released Python support and sensors are accessible (as well as most other native Android features)
Note: You don't have to edit code on mobile, you can connect it to a web browser for a full sized IDE and it can build both APKs and AABs.

2

u/Allanon001 Feb 20 '24

I know Flet can detects phone shakes but not sure of other sensors.

1

u/uppblomstring Feb 20 '24

Currently using flet and enjoying it a lot, recommend it 100%