Skip to content

elastic-event-components/e2c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



E2C - Elastic Event Components

Elastic Event Components is an open source software library to build flexible component using function flow graphs. The graph nodes represent any operations, while the graph edges represent the function parameters that build the flow between nodes. Elastic Event Components also includes flow visualization.

NEWS: E2C has moved to GitLab

https://gitlab.com/elastic-event-components/e2c

Installation

The following link explain how to install a version of E2C that enables you to write applications in various languages. See Installing E2C for instructions on how to build from source.

Try your first E2C program

$ python
>>> import e2c

>>> config = (
... '.run -- action',
... 'action.render -- render',
... '   render.out -- .out',
... 'action.log -- log',
... '   log.store -- .out')

>>> def action(data: str, render, log):
...    render(data)
...    log('Render done!')

>>> sess = e2c.Session[str, str](config)
>>> sess.actor('action', action)
>>> sess.actor('render', lambda dat, out: out(dat))
>>> sess.actor('log', lambda dat, store: store(dat))

>>> sess.run_continues('Hello E2C!', print)
Hello e2c!
Render done!


For more information

License

Apache 2.0 License

About

Elastic Event Components is an open source software library to build flexible components using function flow graphs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages