Simple Streaming Data Pipeline
Project description
Kabooki
Type safe, reusable pipes to process streams of data.
from kabooki.pipes import *
if __name__ == '__main__':
double: Pipe[int, int] = transform(lambda i: i * 2)
half: Pipe[int, int] = transform(lambda i: i // 2)
ge5: Pipe[int, int] = keep(lambda i: i >= 5)
(
range(10)
- ge5
+ [
double,
half
]
> log()
)
Project details
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
kabooki-0.0.2.tar.gz
(3.4 kB
view hashes)