TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Chonker a Python package for data chunking

2 点作者 spacetracks将近 2 年前
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 comment

knighthack将近 2 年前
I love the name! However, this does seem to replicate some of the feature set of more-itertools: <a href="https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;more-itertools&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;more-itertools&#x2F;</a>