Ask HN: As a Python programmer, which packages have you used more frequently?
As a python programmer, which packages have you used more frequently and those that have come handy ? which packages have solved your tricky problems ? which are some of the obscure and not-so-known packages that you have used ?
7 comments
I really like more_itertools when I have the chance to use it, it's really nice and comes with lots of handy little things.
I second more_itertools. It has many useful functions such as chunked()/ichunked(), spy(), one(), only(), unique_everseen(), and unique_justseen(). Python 3.12 is only now getting an equivalent to chunked() as itertools.batched().
Thanks for your input!
One of my favorites is the Rich library, making it simple to develop nice-looking CLIs.
Thanks for your input!
Favorite from the Python builtins is Pathlib and the caching abilities of functools.
Any data analysis project starts out with pandas and jupyter.