1 个仓库
Utilities for monitoring the number of elements yielded by an iterator.
Distinguishing note: Candidates refer to industrial material, media, or memory consumption, not iterator element counts.
Explore 1 awesome GitHub repository matching data & databases · Iterator Consumption Tracking. Refine with filters or upvote what's useful.
more-itertools 是 Python itertools 模块的扩展库。它作为一个用于操作可迭代对象的工具包,提供了广泛的数据转换、组合生成和迭代器状态管理例程。 该库以高级状态管理和复杂的序列生成为特色。它提供了查看未来元素、在序列内搜索,以及从可能包含重复元素的集合中生成唯一排列、组合和集合划分的功能。 其更广泛的功能涵盖了数据处理任务,如递归展平、分组、填充和数据流重塑。它还包括用于流合并、局部邻域分析的窗口化以及线程安全的迭代同步的工具。 该项目还提供了用于数值序列处理的专门例程,包括矩阵乘法、离散线性卷积和傅里叶变换。
Wraps collections to maintain a running tally of how many items have been consumed.