Live data from Hacker News

Top Python libraries of 2020 you should know about

tryolabs.com

31–40 of 55 posts

Re: Top Python libraries of 2020 you should know about

#31
post #5

I've been using Python a lot, both professionally and privately. Been contributing to Cpython. 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.

After lots of experience with many Python package managers, I’ve always found conda to be the best across the board.

Re: Top Python libraries of 2020 you should know about

#32
post #5

I've been using Python a lot, both professionally and privately. Been contributing to Cpython. 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.

After lots of experience with many Python package managers, I’ve always found conda to be the best across the board.

I have to agree with you here.

Re: Top Python libraries of 2020 you should know about

#33
post #25

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 my Python actually is in 2020, co…

I wholeheartedly endorse The Python Cookbook by David Beazley. It's almost a decade old, but hasn't aged a bit. Its "recipes" are practical, elegant, and often somewhat cheeky: I'm thinking in particular of a puckish trick he uses to lazily interpolate variable bindings into a format string automatically by resolving it in the context of previous stack frames (helpfully packaged as a modular function that emits nice errors), and another to tamper with the restrictions of the GIL by executing threaded computations in separate interpreters. But while the book is loaded with black magic, it's also the first place I turn when trying to refresh myself on more quotidian topics like navigating a filesystem, making subprocess calls, overriding class instance behavior with magic methods, etc.

Re: Top Python libraries of 2020 you should know about

#35
post #5

I've been using Python a lot, both professionally and privately. Been contributing to Cpython. 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.

After lots of experience with many Python package managers, I’ve always found conda to be the best across the board.

I tried conda on a couple of occasions, but it always took an absurd amount of time for dependency resolution (upwards of a minute on average hardware and smallish projects with a few heavyweight dependencies like numpy). Is that aspect better now?

Re: Top Python libraries of 2020 you should know about

#36
post #13

Summary of list: * 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 *…

Hi, author here. We have been doing the series of posts every year since 2016, way before Norfair was even a dream.

[deleted]

Re: Top Python libraries of 2020 you should know about

#37
post #5

I've been using Python a lot, both professionally and privately. Been contributing to Cpython. 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.

Coming from Python into the Node.js/React world, I find myself missing the Python library ecosystem, and as fantastic as NPM is, Poetry was not so far behind it that I generally noticed...

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.

Re: Top Python libraries of 2020 you should know about

#39
post #25

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 my Python actually is in 2020, co…

> bsolutely 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 my Python actually is in 2020, compared to how other languages I know currently look.

You are me!

Re: Top Python libraries of 2020 you should know about

#40
post #35

Earlier quoted context omitted.

After lots of experience with many Python package managers, I’ve always found conda to be the best across the board.

I tried conda on a couple of occasions, but it always took an absurd amount of time for dependency resolution (upwards of a minute on average hardware and smallish projects with a few heavyweight dependencies like numpy). Is that aspect better now?

Nope, but it's worth it to find out about dependency problems before the installation, rather than after.

Conda also handles C/C++ libraries well, which is a must if you're packaging DS/ML code for Python.

Post reply on HN