ElRunner

command module
v0.0.0-...-482fd9e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

README

ElRunner

Travis branch Go Report Codacy Badge Buffalo Docker Pulls

Introduction

ElRunner runs Python3 code when specific events come, but it ensure you, you will have one instance of your code in running state. its provides runtime python library [runtime.py] for you application in order to have required packages and functions.

Environment Variables

These variables are avaiable in container:

  • Project ID: NAME
  • User Email: USER
  • Redis Host: REDIS_HOST
  • Mongo URL: MONGO_URL

Decode/Encode

ElRunner can decode/encode your data with your given codec in python.

from codec import Codec
import cbor

class ISRC(Codec):
    def decode(self, data):
        return cbor.loads(data)
    def encode(self, data):
        pass

Scenario

ElRunner can run your given scenario on data comming events or periodically.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL