top | item 36985665

Ask HN: As a Python programmer, which packages have you used more frequently?

4 points| rajeshmr | 2 years ago

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

order

mydriasis|2 years ago

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.

cpburns2009|2 years ago

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().

rajeshmr|2 years ago

Thanks for your input!

david-j-vujic|2 years ago

One of my favorites is the Rich library, making it simple to develop nice-looking CLIs.

rajeshmr|2 years ago

Thanks for your input!

david-j-vujic|2 years ago

Favorite from the Python builtins is Pathlib and the caching abilities of functools.

PaulHoule|2 years ago

Any data analysis project starts out with pandas and jupyter.