r/Python • • Dec 21 '20

Discussion We hand-picked the best Python libraries released in 2020

Hello,

Every year, we produce a list of the top 10 Python libraries released or popularized that year.

2020 was a hard one, since there are so many good choices! Therefore, we decided we should list many more :) Most are around data science / machine learning.

The full list is available here: https://tryolabs.com/blog/2020/12/21/top-10-python-libraries-of-2020/

So:

  • What do you think about our picks?

  • Did we miss any good one? Especially non-data science libraries.

1.3k Upvotes

73 comments sorted by

View all comments

9

u/reddittestpilot Dec 21 '20

Interesting selection of libraries, thanks!

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

2

u/iiMoe Dec 21 '20

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

3

u/reddittestpilot Dec 22 '20

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.