1 个仓库
Utilities for managing the consumption state of iterators, including peeking and seeking capabilities.
Distinct from Iteration State Management: Distinct from Iteration State Management: focuses on controlling the consumption flow of a single iterator rather than tracking indices across parallel processes.
Explore 1 awesome GitHub repository matching data & databases · Iterator State Control. Refine with filters or upvote what's useful.
more-itertools 是一个 Python 可迭代对象工具库,提供用于操作、过滤和转换数据序列的高级函数。它作为一个数据流处理工具包和一组用于迭代器状态管理的工具,扩展了标准 Python itertools 模块的功能。 该库包括一个用于生成排列、组合和幂集的组合数学工具包,以及用于数论计算和矩阵运算的例程。它还提供了用于流状态管理的工具,允许用户查看即将到来的元素或在序列内搜索,以控制数据的消费方式。 附加功能涵盖了用于分块、交错和展平复杂序列的数据处理例程。该工具包还包括分析可迭代对象属性和同步并发数据流的函数。
Ships utilities for peeking at elements and seeking within streams to precisely control sequence consumption.