ECA: Event Condition Action


License
MIT
Install
pip install neca==2.1.9

Documentation

NECA - the Successor of ECA (Event-Condition-Action)

NECA is a simple Python library that allows you to create event-driven applications. It is inspired by the ECA (Event-Condition-Action) paradigm. NECA is a successor of ECA and is built on top of Flask.

NECA is specialized for creating web dashboards. It allows you to easily create a web server with a dashboard that can be updated real-time. It also allows you to easily add new functionality to your dashboard.

Features

  • Event-driven programming
  • Basic building blocks for creating web dashboards
  • Easy to use
  • Easy to extend
  • Easy integration with external data sources

Installation

you can install neca using pip:

pip install neca

Creating a new project

use the neca commandline tool to create a new project:

neca create [project name]

Running your newly created project

to run your project, simply execute the main python file in the generated project folder:

python main.py

Tutorials

If you want to learn about the neca framework in an interactive way, you can check out the tutorials. you can load a tutorial by creating a new project with a tutorial template. Inside these templates there's a README.md file that explains the tutorial content and has some small exercises to help you learn. To open this file in visual studio code, right click on the file and select "Open Preview".

Documentation

You can find the documentation here.

Demos

You can instantiate a demo with the neca commandline tool:

neca demo [demo name]

leave the demo name empty to see a list of available demos.