A Python library that provides functional programming stream operations similar to Java streams, enabling declarative, concise data transformations via lazy evaluation, fluent chaining, and common operations like map, filter, reduce, and more. Current version 1.6.4, supports Python >=3.6, with moderate release cadence (minor updates every few months).
pip install functional-streamsVerified import paths — ran on the pinned version, not inferred.
Create a stream from a list, filter even numbers, double them, and collect to list.
Always call a terminal operation (to_list(), first(), reduce(), etc.) at the end of your stream pipeline.
Create a new stream for each pipeline. If you need to reuse data, store intermediate results in a list.
Use 'from functional.streams import Stream' instead of 'from streams import Stream'.
No dependency data recorded yet.