e2c-0.46.2
توضیحات
Elastic Event Components is an open source software library to build flexible architectures using dataflow graphs.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | e2c-0.46.2 |
| نام | e2c |
| نسخه کتابخانه | 0.46.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | E2c Authors |
| ایمیل نویسنده | stefan.bergmann@enterstry.com |
| آدرس صفحه اصلی | http://e2c.readthedocs.io |
| آدرس اینترنتی | https://pypi.org/project/e2c/ |
| مجوز | Apache 2.0 |
<div align="center">
<img src="https://gitlab.com/elastic-event-components/e2c/raw/master/images/e2c-logo.png"><br><br>
</div>
<br>
| **`Documentation`** | **`Master`** | **`Develop`** | **`Tests`** |
|---------------------|--------------|---------------|-------------|
| [](http://e2c.readthedocs.io/en/latest) | [](https://gitlab.com/elastic-event-components/e2c/master/develop) | [](https://gitlab.com/elastic-event-components/e2c/commits/develop) | [](https://gitlab.com/elastic-event-components/e2c/commits/develop) |
<br>
# 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.
<br>
<br>
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](https://gitlab.com/elastic-event-components/e2c/raw/master/INSTALL.md) for instructions
on how to build from source.*
#### *Try your first E2C program*
```shell
$ python
```
```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!
```
<div align="center">
<img src="https://gitlab.com/elastic-event-components/e2c/raw/master/images/quickstart2.png"><br><br>
</div>
## For more information
Read the [lectures](https://gitlab.com/elastic-event-components/e2c-lectures)
to learn more about E2c or visit the [E2C website](http://e2c.readthedocs.io/en/latest/)
## License
[Apache 2.0 License](https://gitlab.com/elastic-event-components/e2c/blob/master/LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| - | twine |
| - | pytest |
| - | pytest-cov |
| - | pytest-asyncio |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl e2c-0.46.2:
pip install e2c-0.46.2.whl
نصب پکیج tar.gz e2c-0.46.2:
pip install e2c-0.46.2.tar.gz