fluentstream-0.1.0
توضیحات
A stream abstraction with a fluent interface. Inspired by Java 8 streams.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fluentstream-0.1.0 |
| نام | fluentstream |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mikael M |
| ایمیل نویسنده | binarybusiness@gmail.com |
| آدرس صفحه اصلی | https://github.com/binarybusiness/fluentstream.git |
| آدرس اینترنتی | https://pypi.org/project/fluentstream/ |
| مجوز | - |
# 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)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl fluentstream-0.1.0:
pip install fluentstream-0.1.0.whl
نصب پکیج tar.gz fluentstream-0.1.0:
pip install fluentstream-0.1.0.tar.gz