Metadata-Version: 2.1
Name: fluentstream
Version: 0.1.0
Summary: A stream abstraction with a fluent interface. Inspired by Java 8 streams.
Home-page: https://github.com/binarybusiness/fluentstream.git
Author: Mikael M
Author-email: binarybusiness@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Project-URL: Repository, https://github.com/binarybusiness/fluentstream.git
Description-Content-Type: text/markdown

# Fluent stream
 
A stream abstraction with a fluent interface. Inspired by Java 8 streams, but a lot simpler and not lazy. 
It allows you to express something like: 

```python
Stream([1, 2, 3, 4, 5, 6, 7, 8, 9])\
    .filter(lambda x: x % 2 == 0)\
    .map(lambda x: x + 0.5)\
    .limit(4)\
    .fold(lambda x, y: x + y)
```
