Top Python libraries of 2020 you should know about
tryolabs.com
tryolabs.com
* 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 companySo, basically, what's the best way to catch up?
Trey starts with a description of how you might solve the problem (which is about how I solved the problem 50% of the time) that is almost always clearly wrong, even though it "works" - then he shows you a somewhat more pythonic and modern way - and you go, "aha!", and then, he shows you the elegant solution - and it changes your life, and you use that pattern in everything you write.
His focus though, is really on how to write clean pythonic 3.x code more than the latest and greatest features, but he tags his problems/solution sets, so if you really want to dive into decorators, or context managers, or dunder methods - you can zoom right in.
The only problem I've had with Python Morsels is I look at the code I wrote a year ago (I'm not a developer) and I'm embarrassed and ashamed at how gross it was.
Install the latest python version and use it. Ignore the bits you don't need. The type hints for example are neat but entirely optional.
Not sure I like the language. The best dependency manager (Poetry) is buggy. The default interpreter is slow.
But I love the ecosystem of third party packades. Thank you! Python will be around for a long time.
I've encountered a few issues like this since I started using poetry 0.12.
But generally I like poetry and I am also a contributor (--remove-untracked). Don't want to bash it to much.
I have not had any issues with installer race conditions, did I miss, was lucky or you had a special case it surfaced maybe?
Conda also handles C/C++ libraries well, which is a must if you're packaging DS/ML code for Python.
Is conda making a bunch of network calls as part of its resolution process?
Sequelize is an order of magnitude worse than SQLAlchemy, IMO, as the Postgres support seems tacked on, and Sequelize hasn't correctly guessed a single column or table name yet.
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've left the ecosystem for the JVM, professionally, so a nice way to keep up with what's going on in Python land.
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?
Just in case it's still as slow as ever: there's perfectly fine SDL2 bindings for python, so if you use those at least the slowness will be your own fault.
Here's another library that takes a similarish approach using annotations, although it's not quite as polished: https://pypi.org/project/runcommands/
I’m not bombarded with ads and they aren’t doing the thing where you get one page per list item. And several people have found certain libraries useful.