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

10

u/dj2ball Feb 20 '24

I've usd NiceGUI a fair bit for modern feeling web ui's. Its basically an API for running Vue components styled with css directly in your python code. I've found it very solid for prototyping and throwing together quick GUIs on top of my regular scripts.

3

u/[deleted] Feb 20 '24

[removed] — view removed comment

2

u/dj2ball Feb 20 '24 edited Feb 20 '24

It has boilerplate css based on Tailwind styling baked in, yes. You can also write custom css directly in your python file to pass to components to customise them more. Check the library out the docs have some great examples.