Summary of list:<p><pre><code> * Typer
* Rich
* Dear PyGui
* PrettyErrors - formatting and coloring error messages in the terminal
* Diagrams
* Hydra - build configurations in a composable manner, and override certain parts from the command line or config files.
* OmegaConf
* PyTorch Lightning
* Hummingbird - compile your trained traditional ML models into tensor computations
* HiPlot - high-dimensional data using parallel plots
* Scalene
* Norfair - real-time object tracking; the real reason for this post, as it is created by the company</code></pre>
Absolutely off-topic, but can somebody advise on the best resource to learn the most up-to-date Python for somebody who is mentally stuck on Python 2.7-3.2? I always referred to Python when I needed to quickly write some tool for personal use, but never professionally, even though I am a professional programmer. And recently while writing something like this I was struck with how bad <i>my</i> Python actually is in 2020, compared to how other languages I know currently look. Quick lookup shows that it seemingly has pretty powerful typehints system now, but I never used it. I have no idea, which parts of standard library you aren't supposed to <i>actually</i> use anymore, and use some well-established 3rd part library instead (like it was with requests). And stuff like that. And is it even a good idea, to finally switch to the newest versions of Python and to never look back?<p>So, basically, what's the best way to catch up?
I've been using Python a lot, both professionally and privately. Been contributing to Cpython.<p>Not sure I like the language. The best dependency manager (Poetry) is buggy. The default interpreter is slow.<p>But I love the ecosystem of third party packades. Thank you! Python will be around for a long time.
Thank you to the author of this list. I pay pretty close attention, and yet most of these libraries were new to me and I can see myself using 1-5 right away! This was a great list.
Thanks for putting that together. Great list!<p>I use Hy (a thin Lisp skin/wrapper for Python) for a few personal projects (not at work) and great libraries help make applications shorter and easier to maintain. Best code to write is no code.
I like how they led with something of general interest -- just about anybody might want to make a command line script that requires arguments. Typer might help me get away from Bash scripts to just write in Python.
Like every year, a thoughtful and helpful list. Thank you, Tryo labs.<p>I've left the ecosystem for the JVM, professionally, so a nice way to keep up with what's going on in Python land.
If Dear PyGUI uses immediate mode, does it perhaps have the makings of a game library?<p>I looked briefly at pygame a while ago and was dissuaded when using hardware surfaces seemed to be black magic in the opinion of many users of the library, and using software rendering nets you a max of like 25fps if you do nothing but blit black across the entire screen. Does anyone know if pygame is still the state of the art for python game dev?
Typer looks cool. I really like the idea of just writing functions to create command line scripts rather than using argparse.<p>Here's another library that takes a similarish approach using annotations, although it's not quite as polished: <a href="https://pypi.org/project/runcommands/" rel="nofollow">https://pypi.org/project/runcommands/</a>