Hacker News new | ask | show | jobs
Show HN: Chonker a Python package for data chunking (pypi.org)
2 points by spacetracks 1105 days ago
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.
1 comments

I love the name! However, this does seem to replicate some of the feature set of more-itertools: https://pypi.org/project/more-itertools/