fpstreams 2.5.0__tar.gz → 2.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. {fpstreams-2.5.0 → fpstreams-2.6.0}/CHANGELOG.md +16 -67
  2. {fpstreams-2.5.0 → fpstreams-2.6.0}/PKG-INFO +29 -49
  3. {fpstreams-2.5.0 → fpstreams-2.6.0}/README.md +28 -48
  4. {fpstreams-2.5.0 → fpstreams-2.6.0}/pyproject.toml +1 -1
  5. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/Cargo.lock +13 -13
  6. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/Cargo.toml +3 -3
  7. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/common.rs +24 -0
  8. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/float/endpoints.rs +29 -23
  9. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/integer/endpoints.rs +36 -43
  10. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/integer.rs +14 -22
  11. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/numeric_mean.rs +24 -22
  12. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/numpy_group/buffer.rs +32 -74
  13. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/numeric/buffers.rs +2 -2
  14. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/__init__.py +1 -1
  15. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/relational/__init__.py +46 -22
  16. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/semantics/__init__.py +2 -0
  17. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/async_flow.py +11 -2
  18. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/async_terminals.py +34 -3
  19. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/flow.py +9 -2
  20. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/io/__init__.py +48 -26
  21. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/io/text.py +15 -12
  22. {fpstreams-2.5.0 → fpstreams-2.6.0}/LICENSE +0 -0
  23. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/build.rs +0 -0
  24. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/float/affine_pair.rs +0 -0
  25. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/float/rolling.rs +0 -0
  26. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/float.rs +0 -0
  27. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/lib.rs +0 -0
  28. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/numpy_export.rs +0 -0
  29. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/numpy_group.rs +0 -0
  30. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/pair/expr.rs +0 -0
  31. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/pair/prefix.rs +0 -0
  32. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/pair/row_filter.rs +0 -0
  33. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/pair/unique.rs +0 -0
  34. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/pair/value_filter.rs +0 -0
  35. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/pair/value_map.rs +0 -0
  36. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/pair.rs +0 -0
  37. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/pivot.rs +0 -0
  38. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/records.rs +0 -0
  39. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/adapters/namedtuple.rs +0 -0
  40. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/adapters.rs +0 -0
  41. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/global_numeric.rs +0 -0
  42. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/group_numeric.rs +0 -0
  43. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/group_pair_expr.rs +0 -0
  44. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/join_callable/many.rs +0 -0
  45. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/join_callable/unique.rs +0 -0
  46. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/join_callable.rs +0 -0
  47. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/join_exact.rs +0 -0
  48. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational/join_i64.rs +0 -0
  49. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational.rs +0 -0
  50. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational_fixed/composite.rs +0 -0
  51. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational_fixed/global_multi/same_field.rs +0 -0
  52. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational_fixed/global_multi.rs +0 -0
  53. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational_fixed/group_multi.rs +0 -0
  54. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational_fixed/single.rs +0 -0
  55. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/relational_fixed.rs +0 -0
  56. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/scalar_sort.rs +0 -0
  57. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/scalar_unique.rs +0 -0
  58. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/select.rs +0 -0
  59. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/adapters.rs +0 -0
  60. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/group_exact/pairs.rs +0 -0
  61. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/group_exact/rows.rs +0 -0
  62. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/group_exact.rs +0 -0
  63. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/group_fixed.rs +0 -0
  64. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/join_callable/behavior.rs +0 -0
  65. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/join_callable/direct.rs +0 -0
  66. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/join_callable.rs +0 -0
  67. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/join_exact.rs +0 -0
  68. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/numeric/kernels.rs +0 -0
  69. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/numeric/reductions.rs +0 -0
  70. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/numeric.rs +0 -0
  71. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests/numpy_group.rs +0 -0
  72. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/tests.rs +0 -0
  73. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/unnest.rs +0 -0
  74. {fpstreams-2.5.0 → fpstreams-2.6.0}/rust/src/unpivot.rs +0 -0
  75. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/_native.pyi +0 -0
  76. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/_provenance.py +0 -0
  77. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/aggregate.py +0 -0
  78. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/async_flow.py +0 -0
  79. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/__init__.py +0 -0
  80. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/_collector_base.py +0 -0
  81. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/aggregate_program.py +0 -0
  82. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/aggregation.py +0 -0
  83. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/collector.py +0 -0
  84. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/program.py +0 -0
  85. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/reducer.py +0 -0
  86. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/sketches.py +0 -0
  87. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collecting/statistics.py +0 -0
  88. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/collectors.py +0 -0
  89. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/column.py +0 -0
  90. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/errors.py +0 -0
  91. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/exceptions.py +0 -0
  92. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/__init__.py +0 -0
  93. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/_rows_fusion.py +0 -0
  94. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/_scalar_fusion.py +0 -0
  95. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/arrow/__init__.py +0 -0
  96. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/arrow/numeric.py +0 -0
  97. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/arrow/sort.py +0 -0
  98. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/asynchronous/__init__.py +0 -0
  99. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/asynchronous/concurrent.py +0 -0
  100. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/asynchronous/merge.py +0 -0
  101. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/asynchronous/operators.py +0 -0
  102. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/asynchronous/timers.py +0 -0
  103. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/native.py +0 -0
  104. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/numpy_group.py +0 -0
  105. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/numpy_prefix.py +0 -0
  106. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/pairs/__init__.py +0 -0
  107. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/pairs/dictionary.py +0 -0
  108. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/pairs/row_filter.py +0 -0
  109. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/physical.py +0 -0
  110. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/relational/arrow_global.py +0 -0
  111. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/relational/arrow_group.py +0 -0
  112. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/relational/arrow_group_rows.py +0 -0
  113. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/relational/collector_group.py +0 -0
  114. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/relational/join.py +0 -0
  115. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/relational/native_group.py +0 -0
  116. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/sorted_streams.py +0 -0
  117. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/sorting.py +0 -0
  118. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/sync.py +0 -0
  119. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/sync_ops.py +0 -0
  120. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/execution/window_reduce.py +0 -0
  121. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expr.py +0 -0
  122. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/__init__.py +0 -0
  123. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/_codegen.py +0 -0
  124. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/_row_codegen.py +0 -0
  125. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/program.py +0 -0
  126. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/row.py +0 -0
  127. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/row_eval.py +0 -0
  128. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/row_ir.py +0 -0
  129. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/scalar.py +0 -0
  130. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/selectors.py +0 -0
  131. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/expressions/typed_ir.py +0 -0
  132. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/functional.py +0 -0
  133. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/gather.py +0 -0
  134. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/io_safety.py +0 -0
  135. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/option.py +0 -0
  136. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/physical/__init__.py +0 -0
  137. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/physical/async_plan.py +0 -0
  138. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/physical/compiled.py +0 -0
  139. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/physical/kernel_cache.py +0 -0
  140. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/physical/plan.py +0 -0
  141. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/physical/relational.py +0 -0
  142. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/__init__.py +0 -0
  143. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/arrow/__init__.py +0 -0
  144. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/arrow/source.py +0 -0
  145. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/async_.py +0 -0
  146. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/async_utils.py +0 -0
  147. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/compiler.py +0 -0
  148. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/explain.py +0 -0
  149. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/gather.py +0 -0
  150. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/lineage.py +0 -0
  151. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/logical.py +0 -0
  152. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/native.py +0 -0
  153. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/numpy.py +0 -0
  154. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/pairs/__init__.py +0 -0
  155. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/pairs/i64_expression.py +0 -0
  156. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/plan_cache.py +0 -0
  157. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/relational/__init__.py +0 -0
  158. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/relational/specs.py +0 -0
  159. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/semantics/analysis.py +0 -0
  160. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/source.py +0 -0
  161. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/planning/sync.py +0 -0
  162. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/primitives/__init__.py +0 -0
  163. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/primitives/option.py +0 -0
  164. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/primitives/result.py +0 -0
  165. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/py.typed +0 -0
  166. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/result.py +0 -0
  167. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/__init__.py +0 -0
  168. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/_distinct.py +0 -0
  169. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/executor.py +0 -0
  170. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/failpoints.py +0 -0
  171. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/files.py +0 -0
  172. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/iterators.py +0 -0
  173. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/limits.py +0 -0
  174. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/metrics.py +0 -0
  175. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/query.py +0 -0
  176. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/report.py +0 -0
  177. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/resources.py +0 -0
  178. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/spill.py +0 -0
  179. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/runtime/tasks.py +0 -0
  180. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/storage/__init__.py +0 -0
  181. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/storage/checkpoint.py +0 -0
  182. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/storage/codec.py +0 -0
  183. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/storage/spill_store.py +0 -0
  184. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/__init__.py +0 -0
  185. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/_async_identity.py +0 -0
  186. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/_terminals/__init__.py +0 -0
  187. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/_terminals/reductions.py +0 -0
  188. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/_terminals/structural.py +0 -0
  189. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/_terminals/unique.py +0 -0
  190. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/flow_terminals.py +0 -0
  191. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/streams/pairs.py +0 -0
  192. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/__init__.py +0 -0
  193. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/arrow.py +0 -0
  194. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/dataframe.py +0 -0
  195. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/factory.py +0 -0
  196. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/grouped.py +0 -0
  197. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/io/database.py +0 -0
  198. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/join.py +0 -0
  199. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/numpy.py +0 -0
  200. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/polars.py +0 -0
  201. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/records.py +0 -0
  202. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/rows.py +0 -0
  203. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/spill.py +0 -0
  204. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/spill_io.py +0 -0
  205. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/tabular/spill_limits.py +0 -0
  206. {fpstreams-2.5.0 → fpstreams-2.6.0}/src/fpstreams/testing.py +0 -0
@@ -3,6 +3,21 @@
3
3
  This file records user-visible and compatibility-relevant changes in fpstreams,
4
4
  including changed defaults.
5
5
 
6
+ ## 2.6.0
7
+
8
+ - Collect supported transformed Arrow pipelines into column lists without boxing
9
+ each row. Custom iteration and unsupported operations retain their row path.
10
+ - Narrow optional element types after no-selector `Flow.compact()`,
11
+ `Flow.filter_none()`, and `AsyncFlow.filter_none()` calls. Non-optional inputs
12
+ keep their item type. Runtime filtering semantics and order are unchanged.
13
+ - Show how the exported `retry` decorator composes with bounded async requests.
14
+ - Add bounded `AsyncFlow.top()` and `AsyncFlow.bottom()` terminals with stable tie ordering.
15
+
16
+ - Complete UTF-16/32 newline units across short reads without reading the next record.
17
+ - Count a text stream's encoding BOM once when enforcing JSONL record limits.
18
+ Decoded text is measured by re-encoding; binary input keeps exact byte accounting.
19
+ - Use absolute README links that also work from package indexes.
20
+
6
21
  ## 2.5.0
7
22
 
8
23
  Version 2.5.0 includes an intentional static typing incompatibility: `Collectors.averaging()` now
@@ -189,9 +204,6 @@ The migration examples are in the collecting and async flow reference pages;
189
204
  - Optional field-dependency export reuses each computed-column analysis within
190
205
  its step while preserving opaque-expression short circuiting.
191
206
 
192
- - Keep performance runners and their regression fixtures local to maintainers.
193
- Public source distributions and CI retain library checks without benchmark
194
- components or hosted timing jobs.
195
207
  - Consolidate internal async execution, pair execution, semantic analysis,
196
208
  relational planning, terminal helpers, Arrow planning/execution, pair planning,
197
209
  and I/O into domain packages. Public
@@ -470,18 +482,6 @@ The migration examples are in the collecting and async flow reference pages;
470
482
  cleanup diagnostics to an existing query error. Cleanup attempts every owned
471
483
  resource. This also changes Arrow `first()`, which previously ignored close errors.
472
484
 
473
- - Engine benchmarks calibrate warmed timing blocks for short tasks and first-row
474
- latency, retaining elapsed time and call counts in their reports. Rebuild
475
- single-call baselines before comparing. Timing and resource regression limits
476
- are unchanged; scheduled CI now uploads the three raw reference reports.
477
-
478
- - Benchmark report schema 6 records Python and glibc allocator environment
479
- settings. Baseline creation and comparison reject missing or mismatched
480
- settings; regenerate older reports. The runners do not change allocator defaults.
481
-
482
- - NumPy frequency benchmarks check key types, integer counts, first-key order,
483
- and floating-point bit patterns. Separate NaN entries, their signs, and their
484
- payloads remain distinct when comparing independently computed outputs.
485
485
  - Generated Python `with_columns` loops call the live enrichment function.
486
486
  Changes to captured accessors, expression evaluators, or the selector list
487
487
  remain visible after plan caching and while reading the source. The transform
@@ -508,14 +508,6 @@ The migration examples are in the collecting and async flow reference pages;
508
508
  - `frequencies(key=...)` uses the Python pipeline for sequential `auto` plans,
509
509
  so key callbacks can affect subsequent input reads. Native materialization
510
510
  could hide those changes. Reports identify this route as `python_frequency`.
511
- - Benchmark speedup requirements for composite count/sum groups and NamedTuple
512
- callable joins now apply from 1,000 rows. Smaller inputs still emit timing and
513
- allocation data for cross-run checks. The original ratios and CI workloads
514
- are unchanged; small runs no longer inherit speedup requirements validated
515
- for larger inputs.
516
- - The engine benchmark CLI lists scenarios without running their tasks, timing,
517
- allocation tracking, or execution observation. Listing and measurement share
518
- filtering and fixture cleanup, including when a later scenario builder fails.
519
511
  - Single-collector grouping preserves the general collector program's state
520
512
  release order, including when output is closed early. Unused input keys are
521
513
  released before reading the current finisher, so changes made by their release
@@ -554,34 +546,8 @@ The migration examples are in the collecting and async flow reference pages;
554
546
  their length hints. Grouping retains custom key and serialization calls.
555
547
  - Execution reports distinguish successful top-level Rust and Arrow record
556
548
  joins from Python joins. Native pair aggregation also records its direct route.
557
- - Benchmark comparisons reject missing provenance and mismatched workloads.
558
- Both suites record dependencies, Git state, code and workload fingerprints,
559
- and an untimed observation of the task. Median baselines retain each run's
560
- provenance. Older reports need to be regenerated for report schema 6.
561
- - Reports include CPU affinity, NumPy CPU dispatch, and an allowlist of runtime
562
- settings. Comparisons reject mismatched configurations; both runners also
563
- reject configuration changes during measurement.
564
- - Join benchmarks honor the requested engine. Twelve Python controls separate
565
- dict and Mapping records, field and callable keys, and inner, left, and repeated
566
- matches. References preserve callable-key columns and snapshots taken before
567
- key selection, including unmatched left rows.
568
- - NumPy frequency benchmarks cover integer and float arrays, with and without
569
- a callable key, at low and high cardinality. All references preserve first-key
570
- order; Python array-to-list conversion is included in its timed task.
571
- - Competitive samples warm each task for at least 1ms after GC and record the
572
- number of warmup calls. One warmup call left inconsistent timings for short
573
- NumPy tasks in local measurements.
574
- - Competitive benchmarks now record peak Python allocation in a separate,
575
- untimed call for every implementation, using the engine suite's shared helper.
576
- Schema 6 rejects missing or invalid resource measurements, and baseline
577
- creation rejects inconsistent resource sets instead of substituting zero.
578
- Earlier competitive reports contain no allocation evidence.
579
- - Regression checks accept zero allocated bytes when both runs report zero.
580
549
  - `frequencies()` on retained lists and tuples falls back to Python when the
581
550
  optional Rust extension is unavailable, including in the browser wheel.
582
- - Frequency benchmarks use bulk conversion for NumPy dictionaries and pandas'
583
- `to_dict()`, avoiding per-key normalization overhead in the reference tasks.
584
-
585
551
  ### Changed
586
552
 
587
553
  - Automatic NumPy `frequencies()` without a key can count a selected native
@@ -622,10 +588,7 @@ The migration examples are in the collecting and async flow reference pages;
622
588
  in addition to Python/native integer sums.
623
589
 
624
590
  - Single-collector groups write step results directly to their stored entries
625
- and avoid reading stored state for completed groups. Group benchmarks now
626
- include `agg.first()` with repeated and distinct keys.
627
- - Group benchmarks now cover custom completion predicates with repeated and
628
- distinct keys, alongside collectors that cannot finish early.
591
+ and avoid reading stored state for completed groups.
629
592
  - Generated scalar expressions, row expressions, and fused loops share a smaller
630
593
  AST location pass. It preserves traversal order and the existing synthetic
631
594
  source positions used in tracebacks.
@@ -634,20 +597,12 @@ The migration examples are in the collecting and async flow reference pages;
634
597
  - Scalar fingerprint encoding reuses fixed instruction headers instead of
635
598
  rebuilding their bytes for every query. Expression reads and type checks are
636
599
  unchanged; the table retains no expressions or source data.
637
- - Planning benchmarks separate compilation from execution for integer and float
638
- expressions and a callable control, using the same pipeline for each pair.
639
600
  - Python grouped output uses one fewer forwarding generator. The collector
640
601
  iterator still starts lazily and retains its existing cleanup path.
641
602
  - Collector lifecycle properties read their original slots directly, removing
642
603
  an extra Python wrapper. Frozen assignment, explicit replacement, and deletion
643
604
  errors are preserved. The API manifest now classifies those existing fields
644
605
  as properties; their names and constructor signatures are unchanged.
645
- - Add Python dict-group benchmarks for field and callable selectors with repeated
646
- and distinct keys. Execution observations record the case's requested engine.
647
- - Include nominal Mapping and mappingproxy field-group cases with repeated and
648
- distinct keys when measuring Python selector changes.
649
- - Extend the two-key count/sum benchmarks to repeated keys. Keep the original
650
- direct-versus-callable timing threshold and report any regression against it.
651
606
  - Move the narrow integer-key record-join ABI adapter into the existing join
652
607
  executor module. Kernel order, shape guards, and fallback behavior are unchanged.
653
608
 
@@ -660,9 +615,6 @@ The migration examples are in the collecting and async flow reference pages;
660
615
  `Rows.skip()` and `Rows.drop()` in the API index.
661
616
  - Explain the difference between a compiled outer plan and a recorded direct
662
617
  terminal route, including the limits of reports for compound queries.
663
- - Revise the website's introductory and performance text and document the next
664
- benchmark and refactoring steps in the roadmap.
665
-
666
618
  ## 2.1.0 - 2026-09-01
667
619
 
668
620
  ### Added
@@ -692,9 +644,6 @@ The migration examples are in the collecting and async flow reference pages;
692
644
  kernels where they preserve Python ordering, identity, errors, and cleanup.
693
645
  - `rows.from_csv()` and `rows.from_jsonl()` now accept caller-owned open handles
694
646
  and replayable zero-argument opener functions in addition to paths.
695
- - The benchmark runner now compares fpstreams with Python, NumPy, and pandas and
696
- reports the percentage difference for each comparable case.
697
-
698
647
  ### Fixed
699
648
 
700
649
  - Fast paths now revalidate cached row expressions, collector programs, NumPy
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fpstreams
3
- Version: 2.5.0
3
+ Version: 2.6.0
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.11
@@ -58,7 +58,7 @@ Project-URL: Changelog, https://github.com/steventimes/fpstreams/blob/master/CHA
58
58
  Project-URL: Documentation, https://steventimes.github.io/fpstreams/
59
59
  Project-URL: Homepage, https://github.com/steventimes/fpstreams
60
60
 
61
- ![fpstreams — Lazy Python pipelines. Explicit resource ownership.](.github/readme/banner.svg)
61
+ ![fpstreams — Lazy Python pipelines. Explicit resource ownership.](https://raw.githubusercontent.com/steventimes/fpstreams/v2.6.0/.github/readme/banner.svg)
62
62
 
63
63
  # fpstreams
64
64
 
@@ -83,28 +83,6 @@ work, and explicit resource cleanup.
83
83
 
84
84
  Python 3.11 or newer is required.
85
85
 
86
- [Version 2.4.1](https://github.com/steventimes/fpstreams/releases/tag/v2.4.1)
87
- reorganizes planner and execution internals with no public API changes.
88
- Version 2.4.0 added stateful pipeline operations, composed aggregation, shared execution
89
- limits, file recovery, and versioned execution metadata. See the
90
- [changelog](https://github.com/steventimes/fpstreams/blob/master/CHANGELOG.md) for its scope and the
91
- [performance guide](https://steventimes.github.io/fpstreams/user-guide/performance/#process-mapping-and-explicit-batches)
92
- for batch and executor examples. The
93
- [roadmap](https://steventimes.github.io/fpstreams/roadmap/#next-development-steps)
94
- lists the next optimization candidates and their acceptance criteria.
95
-
96
- Version 2.5.0 preserves custom-key hash errors in per-key reductions, Pair
97
- collection, and in-memory Python joins and grouping on Python 3.14 and 3.15.
98
-
99
- The [2.5.0 changes](CHANGELOG.md#250) include a static averaging type correction
100
- with an explicit migration path. This version adds
101
- [typed asynchronous folds](fpstreams/docs/reference/async_flow.md#explicit-asynchronous-accumulator-contract-250),
102
- [explicit averaging operations](fpstreams/docs/reference/collecting.md#explicit-averaging-operations-250),
103
- and an opt-in [strict lookup policy for null filtering](fpstreams/docs/reference/rows.md#null-filtering-and-lookup-failures-250).
104
- These APIs are not in 2.4.1. `Flow.reduce` still returns `Any` to type checkers,
105
- including with an annotated callback. See the [reduce guide](fpstreams/docs/reference/flow.md#reduce-types)
106
- for migration examples and [contributor checks](CONTRIBUTING.md#run-the-checks) for validation.
107
-
108
86
  ## Install
109
87
 
110
88
  Install fpstreams from PyPI:
@@ -197,11 +175,6 @@ options when the input may not fit in memory.
197
175
  subpaths, and hybrid execution when only part of a plan is native.
198
176
  - Configured memory and output limits for external sort and partitioned joins/grouping.
199
177
 
200
- Version 2.1 adds execution reports, direct record operations from `flow()`,
201
- standard Arrow/dataframe protocol routing, retained NumPy execution, and new
202
- async queue, prefetch, window, and numeric terminal APIs. See the
203
- [changelog](https://github.com/steventimes/fpstreams/blob/master/CHANGELOG.md) for the release summary.
204
-
205
178
  The CI matrix targets standard CPython 3.11 through 3.15.
206
179
  Free-threaded CPython 3.14t and 3.15t are included in an
207
180
  experimental, non-blocking CI matrix that builds the native extension and checks
@@ -410,30 +383,28 @@ assert python_result == native_result == [2, 4, 6]
410
383
 
411
384
  Use `run_with_report()` to get a terminal's value, recorded route, and query-owned
412
385
  resource counts in one execution. Pairs supports terminals such as
413
- `flow([("a", 1)]).pairs().run_with_report("group_values")`. Version 2.4.0 also
414
- includes up to 64 child plan and route observations in `report.events`. See the
386
+ `flow([("a", 1)]).pairs().run_with_report("group_values")`.
387
+ Reports include up to 64 child plan and route observations in `report.events`. See the
415
388
  [execution report guide](https://steventimes.github.io/fpstreams/user-guide/execution-reports/)
416
389
  for supported terminals and the limits of route reporting.
417
390
 
418
- In 2.4.0, `report.to_dict()` exports versioned metadata with metric units,
391
+ `report.to_dict()` exports versioned metadata with metric units,
419
392
  resource scope, and event limits. It excludes the terminal value and does not
420
393
  rerun the query. See the
421
394
  [metadata export guide](https://steventimes.github.io/fpstreams/user-guide/execution-reports/#metadata-export-unreleased)
422
- for JSON storage and caller-managed OpenLineage integration. Report export
423
- requires 2.4.0 or newer.
395
+ for JSON storage and caller-managed OpenLineage integration.
424
396
 
425
- Version 2.4.0 also includes `BoundedExecutor` for a shared submission limit
426
- across queries and `FileCheckpoint` for verified file-partition recovery. See
397
+ Use `BoundedExecutor` for a shared submission limit across queries and
398
+ `FileCheckpoint` for verified file-partition recovery. See
427
399
  the [resource controls](https://steventimes.github.io/fpstreams/user-guide/performance/#share-a-submission-budget-unreleased)
428
400
  and [file-partition recipe](https://steventimes.github.io/fpstreams/user-guide/analytics/#resume-file-partitions-unreleased)
429
- for ownership, memory, and retry semantics. These additions require 2.4.0 or newer.
401
+ for ownership, memory, and retry semantics.
430
402
 
431
- In 2.4.0, `flow.unfold` / `aflow.unfold` generate values from explicit state
403
+ `flow.unfold` / `aflow.unfold` generate values from explicit state
432
404
  transitions. `Flow.map_accum` and `AsyncFlow.map_accum` update state while mapping
433
405
  each input to one output. See the
434
406
  [state examples](https://steventimes.github.io/fpstreams/reference/flow/#state-driven-generation-and-mapping-unreleased)
435
- for termination, tuple ordering, and mutable-state ownership. These APIs require
436
- 2.4.0 or newer.
407
+ for termination, tuple ordering, and mutable-state ownership.
437
408
 
438
409
  A forced native plan raises `NativeUnsupportedError` if its complete types or
439
410
  operations cannot run natively. In particular, the presence of an internal
@@ -507,15 +478,27 @@ fpstreams includes inline type annotations, docstrings, and the `py.typed` marke
507
478
  Select the Python interpreter where fpstreams is installed in your editor to get
508
479
  method completions, parameter hints, and hover documentation.
509
480
 
510
- Version 2.2.1 fixes `rows` factory completion and keeps core
511
- iterable element types when optional data adapters are absent. For example,
481
+ Core iterable element types are preserved when optional data adapters are absent. For example,
512
482
  `flow([1, 2, 3])` is inferred as `Flow[int]`.
513
483
 
484
+ ### Type contracts and migration
485
+
486
+ `Flow.reduce()` returns `Any` to type checkers, even with an annotated callback.
487
+ The [reduce guide](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/flow.md#reduce-types) shows typed accumulator alternatives,
488
+ including [asynchronous folds](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/async_flow.md#explicit-asynchronous-accumulator-contract-250).
489
+
490
+ The result of collecting with `Collectors.averaging()` is typed as `object`. Use the
491
+ [explicit averaging contracts](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/collecting.md#explicit-averaging-operations-250)
492
+ when a caller needs a specific result type. See the [2.5.0 migration notes](https://github.com/steventimes/fpstreams/blob/v2.6.0/CHANGELOG.md#250)
493
+ before updating existing type-checked code.
494
+
495
+ Release history and compatibility changes are in the [changelog](https://github.com/steventimes/fpstreams/blob/v2.6.0/CHANGELOG.md).
496
+
514
497
  ## Coding-agent guidance
515
498
 
516
- The [Flow](fpstreams/docs/reference/flow.md#reduce-types),
517
- [async Flow](fpstreams/docs/reference/async_flow.md#explicit-asynchronous-accumulator-contract-250),
518
- and [Collector](fpstreams/docs/reference/collecting.md#explicit-averaging-operations-250)
499
+ The [Flow](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/flow.md#reduce-types),
500
+ [async Flow](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/async_flow.md#explicit-asynchronous-accumulator-contract-250),
501
+ and [Collector](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/collecting.md#explicit-averaging-operations-250)
519
502
  references describe entry points, typed reductions, and migration contracts.
520
503
  An independently supplied fpstreams usage skill must match the installed library
521
504
  version and its API documentation. The skill is distributed separately from
@@ -547,14 +530,11 @@ uv run coverage report
547
530
  uv run ruff check src tests scripts
548
531
  uv run ruff format --check src tests scripts
549
532
  uv run mypy src/fpstreams
550
- cargo test --manifest-path rust/Cargo.toml
533
+ uv run --no-sync cargo test --manifest-path rust/Cargo.toml
551
534
  uv run python scripts/build_browser_wheel.py
552
535
  uv run mkdocs build --strict -f fpstreams/mkdocs.yml
553
536
  ~~~
554
537
 
555
- Performance measurements are maintained locally. Benchmark tools and raw reports
556
- are not part of the public source distribution or GitHub Actions.
557
-
558
538
  The source tree is organized by domain under `src/fpstreams/`: `streams`,
559
539
  `planning`, `execution`, `collecting`, `tabular`, `expressions`, and `primitives`.
560
540
  Small top-level modules are compatibility facades, not duplicate implementations.
@@ -1,4 +1,4 @@
1
- ![fpstreams — Lazy Python pipelines. Explicit resource ownership.](.github/readme/banner.svg)
1
+ ![fpstreams — Lazy Python pipelines. Explicit resource ownership.](https://raw.githubusercontent.com/steventimes/fpstreams/v2.6.0/.github/readme/banner.svg)
2
2
 
3
3
  # fpstreams
4
4
 
@@ -23,28 +23,6 @@ work, and explicit resource cleanup.
23
23
 
24
24
  Python 3.11 or newer is required.
25
25
 
26
- [Version 2.4.1](https://github.com/steventimes/fpstreams/releases/tag/v2.4.1)
27
- reorganizes planner and execution internals with no public API changes.
28
- Version 2.4.0 added stateful pipeline operations, composed aggregation, shared execution
29
- limits, file recovery, and versioned execution metadata. See the
30
- [changelog](https://github.com/steventimes/fpstreams/blob/master/CHANGELOG.md) for its scope and the
31
- [performance guide](https://steventimes.github.io/fpstreams/user-guide/performance/#process-mapping-and-explicit-batches)
32
- for batch and executor examples. The
33
- [roadmap](https://steventimes.github.io/fpstreams/roadmap/#next-development-steps)
34
- lists the next optimization candidates and their acceptance criteria.
35
-
36
- Version 2.5.0 preserves custom-key hash errors in per-key reductions, Pair
37
- collection, and in-memory Python joins and grouping on Python 3.14 and 3.15.
38
-
39
- The [2.5.0 changes](CHANGELOG.md#250) include a static averaging type correction
40
- with an explicit migration path. This version adds
41
- [typed asynchronous folds](fpstreams/docs/reference/async_flow.md#explicit-asynchronous-accumulator-contract-250),
42
- [explicit averaging operations](fpstreams/docs/reference/collecting.md#explicit-averaging-operations-250),
43
- and an opt-in [strict lookup policy for null filtering](fpstreams/docs/reference/rows.md#null-filtering-and-lookup-failures-250).
44
- These APIs are not in 2.4.1. `Flow.reduce` still returns `Any` to type checkers,
45
- including with an annotated callback. See the [reduce guide](fpstreams/docs/reference/flow.md#reduce-types)
46
- for migration examples and [contributor checks](CONTRIBUTING.md#run-the-checks) for validation.
47
-
48
26
  ## Install
49
27
 
50
28
  Install fpstreams from PyPI:
@@ -137,11 +115,6 @@ options when the input may not fit in memory.
137
115
  subpaths, and hybrid execution when only part of a plan is native.
138
116
  - Configured memory and output limits for external sort and partitioned joins/grouping.
139
117
 
140
- Version 2.1 adds execution reports, direct record operations from `flow()`,
141
- standard Arrow/dataframe protocol routing, retained NumPy execution, and new
142
- async queue, prefetch, window, and numeric terminal APIs. See the
143
- [changelog](https://github.com/steventimes/fpstreams/blob/master/CHANGELOG.md) for the release summary.
144
-
145
118
  The CI matrix targets standard CPython 3.11 through 3.15.
146
119
  Free-threaded CPython 3.14t and 3.15t are included in an
147
120
  experimental, non-blocking CI matrix that builds the native extension and checks
@@ -350,30 +323,28 @@ assert python_result == native_result == [2, 4, 6]
350
323
 
351
324
  Use `run_with_report()` to get a terminal's value, recorded route, and query-owned
352
325
  resource counts in one execution. Pairs supports terminals such as
353
- `flow([("a", 1)]).pairs().run_with_report("group_values")`. Version 2.4.0 also
354
- includes up to 64 child plan and route observations in `report.events`. See the
326
+ `flow([("a", 1)]).pairs().run_with_report("group_values")`.
327
+ Reports include up to 64 child plan and route observations in `report.events`. See the
355
328
  [execution report guide](https://steventimes.github.io/fpstreams/user-guide/execution-reports/)
356
329
  for supported terminals and the limits of route reporting.
357
330
 
358
- In 2.4.0, `report.to_dict()` exports versioned metadata with metric units,
331
+ `report.to_dict()` exports versioned metadata with metric units,
359
332
  resource scope, and event limits. It excludes the terminal value and does not
360
333
  rerun the query. See the
361
334
  [metadata export guide](https://steventimes.github.io/fpstreams/user-guide/execution-reports/#metadata-export-unreleased)
362
- for JSON storage and caller-managed OpenLineage integration. Report export
363
- requires 2.4.0 or newer.
335
+ for JSON storage and caller-managed OpenLineage integration.
364
336
 
365
- Version 2.4.0 also includes `BoundedExecutor` for a shared submission limit
366
- across queries and `FileCheckpoint` for verified file-partition recovery. See
337
+ Use `BoundedExecutor` for a shared submission limit across queries and
338
+ `FileCheckpoint` for verified file-partition recovery. See
367
339
  the [resource controls](https://steventimes.github.io/fpstreams/user-guide/performance/#share-a-submission-budget-unreleased)
368
340
  and [file-partition recipe](https://steventimes.github.io/fpstreams/user-guide/analytics/#resume-file-partitions-unreleased)
369
- for ownership, memory, and retry semantics. These additions require 2.4.0 or newer.
341
+ for ownership, memory, and retry semantics.
370
342
 
371
- In 2.4.0, `flow.unfold` / `aflow.unfold` generate values from explicit state
343
+ `flow.unfold` / `aflow.unfold` generate values from explicit state
372
344
  transitions. `Flow.map_accum` and `AsyncFlow.map_accum` update state while mapping
373
345
  each input to one output. See the
374
346
  [state examples](https://steventimes.github.io/fpstreams/reference/flow/#state-driven-generation-and-mapping-unreleased)
375
- for termination, tuple ordering, and mutable-state ownership. These APIs require
376
- 2.4.0 or newer.
347
+ for termination, tuple ordering, and mutable-state ownership.
377
348
 
378
349
  A forced native plan raises `NativeUnsupportedError` if its complete types or
379
350
  operations cannot run natively. In particular, the presence of an internal
@@ -447,15 +418,27 @@ fpstreams includes inline type annotations, docstrings, and the `py.typed` marke
447
418
  Select the Python interpreter where fpstreams is installed in your editor to get
448
419
  method completions, parameter hints, and hover documentation.
449
420
 
450
- Version 2.2.1 fixes `rows` factory completion and keeps core
451
- iterable element types when optional data adapters are absent. For example,
421
+ Core iterable element types are preserved when optional data adapters are absent. For example,
452
422
  `flow([1, 2, 3])` is inferred as `Flow[int]`.
453
423
 
424
+ ### Type contracts and migration
425
+
426
+ `Flow.reduce()` returns `Any` to type checkers, even with an annotated callback.
427
+ The [reduce guide](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/flow.md#reduce-types) shows typed accumulator alternatives,
428
+ including [asynchronous folds](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/async_flow.md#explicit-asynchronous-accumulator-contract-250).
429
+
430
+ The result of collecting with `Collectors.averaging()` is typed as `object`. Use the
431
+ [explicit averaging contracts](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/collecting.md#explicit-averaging-operations-250)
432
+ when a caller needs a specific result type. See the [2.5.0 migration notes](https://github.com/steventimes/fpstreams/blob/v2.6.0/CHANGELOG.md#250)
433
+ before updating existing type-checked code.
434
+
435
+ Release history and compatibility changes are in the [changelog](https://github.com/steventimes/fpstreams/blob/v2.6.0/CHANGELOG.md).
436
+
454
437
  ## Coding-agent guidance
455
438
 
456
- The [Flow](fpstreams/docs/reference/flow.md#reduce-types),
457
- [async Flow](fpstreams/docs/reference/async_flow.md#explicit-asynchronous-accumulator-contract-250),
458
- and [Collector](fpstreams/docs/reference/collecting.md#explicit-averaging-operations-250)
439
+ The [Flow](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/flow.md#reduce-types),
440
+ [async Flow](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/async_flow.md#explicit-asynchronous-accumulator-contract-250),
441
+ and [Collector](https://github.com/steventimes/fpstreams/blob/v2.6.0/fpstreams/docs/reference/collecting.md#explicit-averaging-operations-250)
459
442
  references describe entry points, typed reductions, and migration contracts.
460
443
  An independently supplied fpstreams usage skill must match the installed library
461
444
  version and its API documentation. The skill is distributed separately from
@@ -487,14 +470,11 @@ uv run coverage report
487
470
  uv run ruff check src tests scripts
488
471
  uv run ruff format --check src tests scripts
489
472
  uv run mypy src/fpstreams
490
- cargo test --manifest-path rust/Cargo.toml
473
+ uv run --no-sync cargo test --manifest-path rust/Cargo.toml
491
474
  uv run python scripts/build_browser_wheel.py
492
475
  uv run mkdocs build --strict -f fpstreams/mkdocs.yml
493
476
  ~~~
494
477
 
495
- Performance measurements are maintained locally. Benchmark tools and raw reports
496
- are not part of the public source distribution or GitHub Actions.
497
-
498
478
  The source tree is organized by domain under `src/fpstreams/`: `streams`,
499
479
  `planning`, `execution`, `collecting`, `tabular`, `expressions`, and `primitives`.
500
480
  Small top-level modules are compatibility facades, not duplicate implementations.
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "fpstreams"
7
- version = "2.5.0"
7
+ version = "2.6.0"
8
8
  description = "Lazy Python pipelines for iterables and records, with bounded async concurrency."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -4,7 +4,7 @@ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "fpstreams-native"
7
- version = "2.5.0"
7
+ version = "2.6.0"
8
8
  dependencies = [
9
9
  "pyo3",
10
10
  "pyo3-build-config",
@@ -45,9 +45,9 @@ dependencies = [
45
45
 
46
46
  [[package]]
47
47
  name = "pyo3"
48
- version = "0.29.2"
48
+ version = "0.30.1"
49
49
  source = "registry+https://github.com/rust-lang/crates.io-index"
50
- checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
50
+ checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
51
51
  dependencies = [
52
52
  "libc",
53
53
  "once_cell",
@@ -59,18 +59,18 @@ dependencies = [
59
59
 
60
60
  [[package]]
61
61
  name = "pyo3-build-config"
62
- version = "0.29.2"
62
+ version = "0.30.1"
63
63
  source = "registry+https://github.com/rust-lang/crates.io-index"
64
- checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
64
+ checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
65
65
  dependencies = [
66
66
  "target-lexicon",
67
67
  ]
68
68
 
69
69
  [[package]]
70
70
  name = "pyo3-ffi"
71
- version = "0.29.2"
71
+ version = "0.30.1"
72
72
  source = "registry+https://github.com/rust-lang/crates.io-index"
73
- checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
73
+ checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
74
74
  dependencies = [
75
75
  "libc",
76
76
  "pyo3-build-config",
@@ -78,9 +78,9 @@ dependencies = [
78
78
 
79
79
  [[package]]
80
80
  name = "pyo3-macros"
81
- version = "0.29.2"
81
+ version = "0.30.1"
82
82
  source = "registry+https://github.com/rust-lang/crates.io-index"
83
- checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
83
+ checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
84
84
  dependencies = [
85
85
  "proc-macro2",
86
86
  "pyo3-macros-backend",
@@ -90,9 +90,9 @@ dependencies = [
90
90
 
91
91
  [[package]]
92
92
  name = "pyo3-macros-backend"
93
- version = "0.29.2"
93
+ version = "0.30.1"
94
94
  source = "registry+https://github.com/rust-lang/crates.io-index"
95
- checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
95
+ checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
96
96
  dependencies = [
97
97
  "heck",
98
98
  "proc-macro2",
@@ -111,9 +111,9 @@ dependencies = [
111
111
 
112
112
  [[package]]
113
113
  name = "syn"
114
- version = "2.0.119"
114
+ version = "3.0.9"
115
115
  source = "registry+https://github.com/rust-lang/crates.io-index"
116
- checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
116
+ checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
117
117
  dependencies = [
118
118
  "proc-macro2",
119
119
  "quote",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "fpstreams-native"
3
- version = "2.5.0"
3
+ version = "2.6.0"
4
4
  edition = "2024"
5
5
  rust-version = "1.85"
6
6
  description = "Native fused execution kernels for fpstreams."
@@ -15,7 +15,7 @@ crate-type = ["cdylib"]
15
15
  extension-module = ["pyo3/extension-module"]
16
16
 
17
17
  [dependencies]
18
- pyo3 = { version = "0.29.2", features = ["abi3-py311"] }
18
+ pyo3 = { version = "0.30.1", features = ["abi3-py311"] }
19
19
 
20
20
  [build-dependencies]
21
- pyo3-build-config = "0.29.2"
21
+ pyo3-build-config = "0.30.1"
@@ -12,6 +12,30 @@ use pyo3::sync::critical_section::with_critical_section;
12
12
  use pyo3::types::{PyFloat, PyInt, PyList, PySet, PyString, PyTuple};
13
13
  use std::sync::atomic::{AtomicPtr, Ordering};
14
14
 
15
+ /// Read a contiguous exported buffer without forming a Rust reference to its contents.
16
+ ///
17
+ /// The export remains borrowed for the iterator lifetime. Callers keep Python attached and
18
+ /// consume the iterator in their callback-free scan before releasing the export or checking
19
+ /// signals, just as for strided buffer scans. No element references escape to Python.
20
+ pub(crate) fn contiguous_buffer_values<'a, T: Element>(
21
+ buffer: Option<&'a PyBuffer<T>>,
22
+ _py: Python<'a>,
23
+ ) -> Option<impl ExactSizeIterator<Item = T> + 'a> {
24
+ let (pointer, count) = match buffer {
25
+ Some(buffer) => (
26
+ buffer.as_slice_ptr()?.as_ptr().cast::<T>(),
27
+ buffer.item_count(),
28
+ ),
29
+ None => (std::ptr::NonNull::<T>::dangling().as_ptr(), 0),
30
+ };
31
+ Some((0..count).map(move |index| {
32
+ // SAFETY: PyBuffer validated element size, format and alignment; the live export
33
+ // retains the contiguous allocation, and index is below its fixed element count.
34
+ // Read a value through the raw pointer instead of borrowing Python-owned memory.
35
+ unsafe { pointer.add(index).read() }
36
+ }))
37
+ }
38
+
15
39
  // Keep these bit positions synchronized with ``NativeAggregateField`` in
16
40
  // ``collecting/aggregate_program.py``. The masked ABI still returns the
17
41
  // established eight-slot snapshot; unrequested slots contain their empty