Skip to main content

ECA: Event Condition Action

Project description

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 [folder 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".

You can also view the tutorials in the Wiki:

Documentation

You can find the documentation here.

Demos

You can instantiate a demo with the neca commandline tool and choosing an example from the list

neca [folder name]

Project details


Download files

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

Source Distribution

neca-2.1.9.tar.gz (462.2 kB view hashes)

Uploaded Source

Built Distribution

neca-2.1.9-py3-none-any.whl (469.1 kB view hashes)

Uploaded Python 3

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