Live data from Hacker News

Top Python libraries of 2020 you should know about

tryolabs.com

11–20 of 55 posts

Re: Top Python libraries of 2020 you should know about

#11

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.

Ever since type hinting came about I wanted a library like typer (I had a few attempts to write one, but often lost motivation with other things). This was the first time I’ve seen it and am excited to read more into it!

Re: Top Python libraries of 2020 you should know about

#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.

Re: Top Python libraries of 2020 you should know about

#14
post #12

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.

I am glad it was of help! We put a lot of effort every year into these lists.

Re: Top Python libraries of 2020 you should know about

#16
If Dear PyGUI uses immediate mode, does it perhaps have the makings of a game library?

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?

Re: Top Python libraries of 2020 you should know about

#17

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 *…

To be fair the Norfair library is presented as a 'bonus' item and not part of the top 10 list. Even as self-promotion it seems relevant and fair.

Re: Top Python libraries of 2020 you should know about

#19

If Dear PyGUI uses immediate mode, does it perhaps have the makings of a game library? 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…

It would be much higher than 25 fps for sure. I would say it could stand a fair chance for some starter level 2d games to hit 60fps or higher easily. However that is not the intended use case the library at the moment, it currently aims at giving a face to scripts and med-large applications. But it wouldn't be bad introduction to the idea of having to deal with frames and a render loop and logic loop ect for a beginner!

Re: Top Python libraries of 2020 you should know about

#20
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.

Curious what bugs you have come across with poetry?
Post reply on HN