Hacker News new | ask | show | jobs
by mydriasis 1047 days 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.
2 comments

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!