Python SDK for Portable Plugin

    To run python plugin, there are two prerequisites in the runtime environment:

    1. Install nng and ekuiper package by .

    By default, the eKuiper portable plugin runtime will run python script with . If users have multiple python instance or an alternative python executable command, they can specify the python command in the configuration file.

    Source interface:

    Sink interface:

    Users need to create their own source, sink and function by implement these abstract classes. Then create the main program and declare the instantiation functions for these extensions like below:

    For the full example, please check the .

    Running python script requires the python environment. Make sure python 3.x are installed in the target environment. If using docker image, we recommend to use tags like which have both eKuiper and python environment.