Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mydriasis
· 3y ago · 0 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.
Comments
[–]
cpburns2009
3y 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
3y ago
Thanks for your input!