beavers 0.13.0
pip install beavers==0.13.0
Latest version
Released:
Python stream processing
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache-2.0)
- Author: Tradewell Tech
- Maintainer: 0x26res
- Tags apache-arrow, streaming, data
- Requires: Python <4, >=3.10
Classifiers
- Development Status
- License
- Natural Language
- Programming Language
Project description
Beavers
Documentation / Installation / Repository / PyPI
Beavers is a python library for stream processing, optimized for analytics.
It is used at Tradewell Technologies, to calculate analytics and serve model predictions, for both realtime and batch jobs.
Key Features
- Works in real time (eg: reading from Kafka) and replay mode (eg: reading from Parquet files).
- Optimized for analytics, using micro-batches (instead of processing records one by one).
- Similar to incremental, it updates nodes in a dag incrementally.
- Taking inspiration from kafka streams, there are two types of nodes in the dag:
- Stream: ephemeral micro-batches of events (cleared after every cycle).
- State: durable state derived from streams.
- Clear separation between the business logic and the IO. So the same dag can be used in real time mode, replay mode or can be easily tested.
- Functional interface: no inheritance or decorator required.
- Support for complicated joins, not just "linear" data flow.
Limitations
- No concurrency support. To speed up calculation use libraries like pandas, pyarrow or polars.
- No async code. To speed up IO use kafka driver native thread or parquet IO thread pool.
- No support for persistent state. Instead of saving state, replay historic data from kafka to prime stateful nodes.
Talks
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache-2.0)
- Author: Tradewell Tech
- Maintainer: 0x26res
- Tags apache-arrow, streaming, data
- Requires: Python <4, >=3.10
Classifiers
- Development Status
- License
- Natural Language
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file beavers-0.13.0.tar.gz
.
File metadata
- Download URL: beavers-0.13.0.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb1dfa6cbfb110e2c00a9f9682b03299e1a1737c7c4ef102b345c5791dd04c82 |
|
MD5 | e7c137d5a0487bdb74eac879902daa5e |
|
BLAKE2b-256 | 6b25a26a1553cdc669bca8e6233b8805d0e707abcc32c6788f6a86fffdf10de1 |
File details
Details for the file beavers-0.13.0-py3-none-any.whl
.
File metadata
- Download URL: beavers-0.13.0-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a01690bd31a6f48d9010d3f88b0a6854df6f84df5cacc89680298875ed58e8 |
|
MD5 | b5fe49b5cbb31f918868e288854c501b |
|
BLAKE2b-256 | 410a5e87eb946523e275694fcbaee0b3acead6c8fbe03f9c02e773a8235052c2 |