storey-1.9.1
1.9.1
1.9.0
1.8.9
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.11
1.8.10
1.8.1
1.8.0
1.7.9
1.7.8
1.7.7
1.7.6
1.7.51
1.7.50
1.7.5
1.7.4
1.7.3
1.7.28
1.7.27
1.7.26
1.7.25
1.7.24
1.7.23
1.7.22
1.7.21
1.7.20
1.7.2
1.7.19
1.7.18
1.7.17
1.7.16
1.7.15
1.7.14
1.7.13
1.7.12
1.7.11
1.7.10
1.7.1
1.7.0
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.20
1.6.2
1.6.19
1.6.18
1.6.17
1.6.16
1.6.15
1.6.14
1.6.13
1.6.12
1.6.11
1.6.10
1.6.1
1.6.0
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.0
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.19
1.3.18
1.3.17
1.3.15
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.1
1.3.0
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.12.3
1.12.2
1.12.1
1.12.0
1.11.9
1.11.8
1.11.7
1.11.6
1.11.5
1.11.4
1.11.3
1.11.26
1.11.25
1.11.24
1.11.23
1.11.22
1.11.21
1.11.20
1.11.2
1.11.19
1.11.18
1.11.17
1.11.16
1.11.15
1.11.14
1.11.13
1.11.12
1.11.11
1.11.10
1.11.1
1.11.0
1.10.9
1.10.8
1.10.7
1.10.6
1.10.5
1.10.4
1.10.3
1.10.20
1.10.2
1.10.19
1.10.18
1.10.17
1.10.16
1.10.15
1.10.14
1.10.13
1.10.12
1.10.11
1.10.10
1.10.1
1.10.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1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1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.9.2rc1
0.9.1
0.9.0
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.1
0.8.0
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.15
0.6.14
0.6.13
0.6.12
0.6.11
0.6.10
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.10
0.4.1
0.4.0
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.1.0
توضیحات
Async flows
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | storey-1.9.1 |
| نام | storey |
| نسخه کتابخانه | 1.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Iguazio |
| ایمیل نویسنده | yaronh@iguazio.com |
| آدرس صفحه اصلی | https://github.com/mlrun/storey |
| آدرس اینترنتی | https://pypi.org/project/storey/ |
| مجوز | Apache |
# Storey
Storey is an asynchronous streaming library for real-time event processing and feature extraction. It is part of the [MLRun](https://github.com/mlrun/mlrun) ecosystem.
## Features
- Async event processing with backpressure
- Rich set of built-in transformations: Map, Filter, FlatMap, Batch, Choice, JoinWithTable, and more
- Time-window aggregations with pluggable storage (V3IO, Redis, SQL)
- Sources and targets for files (CSV, Parquet), streams (Kafka, V3IO), and databases (Redis, TimescaleDB)
- Streaming (generator) support in Map steps
## Installation
```bash
pip install storey
```
Optional extras:
```bash
pip install storey[kafka] # Kafka support
pip install storey[redis] # Redis support
pip install storey[psycopg] # TimescaleDB support
```
## Quick Example
```python
from storey import build_flow, SyncEmitSource, Map, Filter, ParquetTarget
controller = build_flow([
SyncEmitSource(),
Filter(lambda event: event["amount"] > 0),
Map(lambda event: {**event, "amount_cents": int(event["amount"] * 100)}),
ParquetTarget("output.parquet", columns=["user", "amount", "amount_cents"]),
]).run()
controller.emit({"user": "alice", "amount": 9.99})
controller.emit({"user": "bob", "amount": -1.00})
controller.emit({"user": "carol", "amount": 24.50})
controller.terminate()
controller.await_termination()
# output.parquet now contains the two events with positive amounts,
# each enriched with amount_cents.
```
## Documentation
See the [MLRun documentation](https://docs.mlrun.org/en/stable/) and the [storey transformations API reference](https://docs.mlrun.org/en/latest/api/storey.transormations/index.html).
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, testing, and coding conventions.
## License
Apache License 2.0
نیازمندی
| مقدار | نام |
|---|---|
| - | aiohttp~=3.8 |
| - | v3io<0.8,>=0.6.10 |
| - | pandas!=1.5.*,<2.2,>=1 |
| - | numpy<1.27,>=1.16.5 |
| - | pyarrow<24,>=1 |
| - | v3io-frames!=0.11.*,!=0.12.*,>=0.10.14 |
| - | fsspec>=0.6.2 |
| - | v3iofs~=0.1.17 |
| - | xxhash>=1 |
| - | nuclio-sdk>=0.5.3 |
| xtr | kafka-python~=2.0; |
| xtr | redis~=4.3; |
| xtr | sqlalchemy~=1.3; |
| xtr | psycopg[binary,pool]~=3.2; |
| xtr | opentelemetry-sdk<2.0.0,>=1.25.0; |
| xtr | opentelemetry-exporter-otlp-proto-grpc<2.0.0,>=1.25.0; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl storey-1.9.1:
pip install storey-1.9.1.whl
نصب پکیج tar.gz storey-1.9.1:
pip install storey-1.9.1.tar.gz