Skip to main content

Elastic Event Components is an open source software library to build flexible architectures using dataflow graphs.

Project description




Documentation Master Develop Tests
docs pipeline status pipeline status coverage report

E2C.py - Elastic Event Components for Python

Elastic Event Components is an open source software library to build flexible architectures using dataflow graphs. A graph node represents any operation, while the graph edges represent the data of the operation. Each parameter can be bound to any number of operations and thus brought into a flow. Elastic Event Components also includes flow visualization.

Through E2C, processes and software architectures can be visualized by dataflow graphs, which can be converted into executable applications. Functional dependencies can be defused by E2C and thus significantly increase the changeability and quality of components and software projects.

Installation

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!')

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

>>> graph.visualize()
>>> graph.run_continues('Hello, E2C', print)

Hello, E2C
Render done!


For more information

Read the lectures to learn more about E2c or visit the E2C website

License

Apache 2.0 License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

e2c-0.46.2-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

Details for the file e2c-0.46.2-py3-none-any.whl.

File metadata

File hashes

Hashes for e2c-0.46.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d589c9787b445d18994434180434c8f95717c6bfb5a0841964c836747fc114
MD5 1b8f61f33de9e9486c1794c74d79b8b6
BLAKE2b-256 ee92beddafe91fca2120d2b29e10471c7a52c460659331f13f850dd1d9dbb127

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page