I created chonker to avoid indexing errors from writing index%chunsize. I considered using the standard approach of returning data chunks but find it more difficult to read for my common use case of checkpointing. Chonker returns a chonk data structure that can be used to make decisions when processing a chunk of data.
Show HN: Chonker a Python package for data chunking
1–2 of 2 posts
Re: Show HN: Chonker a Python package for data chunking
#2I love the name! However, this does seem to replicate some of the feature set of more-itertools: https://pypi.org/project/more-itertools/