Git Product home page Git Product logo

pysiddhi's Introduction

PySiddhi is a Python wrapper for Siddhi. Which can listens to events from data streams, detects complex conditions described via a Streaming SQL language, and triggers actions. It performs both Stream Processing and Complex Event Processing on streaming data. Its Siddhi core is written in Java library.

Features

  • Basic functionality of Siddhi 5.x.x
  • Siddhi Debugger
  • Support to Siddhi Extensions Loading

For a Quick Demo and documentation refer PySiddhi Site

Contribution

PySiddhi is initiated by a project for Google Summer of Code 2017 Program.

Contributed by: Madhawa Vidanapathirana Email: [email protected] Organization: University of Moratuwa, Sri Lanka.

Support and Contribution

  • We encourage users to ask questions and get support via StackOverflow, make sure to add the siddhi tag to the issue for better response.

  • If you find any issues related to the extension please report them on the issue tracker.

  • For production support and other contribution related information refer Siddhi Community documentation.

pysiddhi's People

Contributors

anugayan avatar grainier avatar lasanthas avatar madhawav avatar maheshika avatar mohanvive avatar pcnfernando avatar ramindu90 avatar sajithshn avatar suhothayan avatar this avatar tishan89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pysiddhi's Issues

prebuilt docker

hi

is there a prebuilt docker that contains the required files (java, pysiddhi) for testing and validation as i have some issues trying to install. thanks

TestOutputStream test fails

Description:
TestOutputStream.py test fails as it misses siddhiAppRuntime.start() call.

Affected Product Version:
PySiddhi-5.1.0.beta

OS, DB, other environment details and versions:
MacOS

Steps to reproduce:
In the <PYSIDDHI_HOME> directory, invoke the following command.

python3.7 -m Tests.SiddhiCoreTests.TestOutputStream

sudo pip install . resulting in an error

Description:
I was trying to install pysidhi, but when i enter the command "sudo pip install" it results in the following error.
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-req-build-t0ar9M/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-D7qbKn/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-t0ar9M/

I am working on a ubuntu 16.04 machine.
I would greatly appreciate any help here.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

pysiddhi

Description:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Error TypeError: expected str, bytes or os.PathLike object, not NoneType when inport library : PySiddhi.core.SiddhiManager

Traceback (most recent call last):
File "helloworld.py", line 3, in
from PySiddhi.core.SiddhiManager import SiddhiManager
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/SiddhiManager.py", line 19, in
from PySiddhi.core.SiddhiAppRuntime import SiddhiAppRuntime
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/SiddhiAppRuntime.py", line 18, in
from PySiddhi.core.debugger.SiddhiDebugger import SiddhiDebugger
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/debugger/SiddhiDebugger.py", line 23, in
from PySiddhi.core.event.ComplexEvent import ComplexEvent
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/event/ComplexEvent.py", line 23, in
class ComplexEvent(object):
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/event/ComplexEvent.py", line 28, in ComplexEvent
class Type(Enum):
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/core/event/ComplexEvent.py", line 30, in Type
"io.siddhi.pythonapi.proxy.core.event.complex_event.TypeProxy")().CURRENT(),
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/SiddhiLoader.py", line 131, in _loadType
loadLibrary()
File "/home/thienchuaheadshot/.local/lib/python3.7/site-packages/PySiddhi/SiddhiLoader.py", line 97, in loadLibrary
class_paths = ['.', os.path.join(siddhi_home, 'lib', '*')]
File "/usr/lib/python3.7/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.