Skip to content

datalib/flowlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flowlib

Library implementing primitives and utilities for making data processing pipelines in a declarative way. The simplest way of using the library:

from flowlib.api import stream

pipe = stream(fn1)
    .branch([stream(fn2),
             stream(fn3).then(fn4)])\
    .then(fn5)\
    .then(fn6)

assert pipe([1,2]) == fn6(fn5(fn1([1,2])))

The basic idea is to have an object-oriented, easy to use veneer over the "true" functional workhorses.

About

Monads are so yesterday... It's all about that Flow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages