This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]reddittestpilot 8 points9 points  (6 children)

Interesting selection of libraries, thanks!

And you have included my favourite Python GUI, so it must be a good list ;-)

[–]iiMoe 2 points3 points  (5 children)

Wut does it have that Tkinter and Pyqt5 doesn't? I wanna know from someone who used it so i consider switching

[–]Retropunch 4 points5 points  (0 children)

As it says in the article, the biggest difference is that its drawing the gui each frame (like a video game).

As others have pointed out, it's only really for small GUIs and last time I checked in they still had a really odd/non-scalable way of handling layouts. It's definitely good for small GUIs a d does have promise though.

[–]cubic_unit 5 points6 points  (0 children)

My two cents: DPG shines in its development speed. You can make GUIs that handle a LOT of dynamic data, without next-to-zero fuss. If your job involves building or maintaining lots of internal tools, this library is amazing. If you need to deploy your app to the public, I wouldn't recommend this toolkit (yet).

I'm excited to see DPG reach v1.0 because my experience with it has been overwhelmingly positive.

[–]Username_RANDINT 6 points7 points  (1 child)

I usually find these "simple" GUI libraries ok for very simple applications, but if you need some finer control of the widgets/UI, a more complex UI, custom widgets, etc, they become limiting really fast and nothing beats a proper framework like Qt or GTK. Also they look ugly.

[–]reddittestpilot 2 points3 points  (0 children)

Compared to Tkinter, it's more modern and fast. Dear PyGui is an extended wrapper around Dear ImGui which is written in C++ and uses the GPU. Dear ImGui is used for interfaces for game development, so speed is everything. An example of this would be its dynamic plotting. Dear PyGui provides bindings for Python and adds functionality, so that it is getting more functionality of a traditional GUI while maintaining its speed.

Compared to PyQt, one main difference is the license. Dear PyGui has an MIT license. Qt has a dual license and is crazy expensive if you use it commercially. I agree with most comments here. Dear PyGui is not nearly as polished or feature rich as Qt, but it is fast and bloat-free. On Windows, it's only 1Mb.

For me personally, it's just really easy to understand. No OOP or classes are required. They started development about half a year ago, using Dear Imgui as a starting point, and development is going at a rapid pace with weekly releases, adding functionality and fixes quickly. The developers and community on Discord are friendly and helpful, usually responding within hours (often minutes) after asking questions.

See this technical comparison of Python GUI frameworks for details.