Skip to content

Siddhi 4.x Download

Pre-Release Distributions

Find the latest milestones and daily builds here.

Siddhi Java Library

Get all released Siddhi 4.x libraries from the Maven repository:

Refer the user guide for using Siddhi as a Java library.

Siddhi in Python (PySiddhi4)

The current version is tested with Microsoft Windows and Unix/Linux based operating systems. PySiddhi4 can be installed using one of the following methods.

Prerequisites

  • The following dependencies should be installed prior to installation of library.

    Linux

    • Python 2.7 or 3.x
    • Cython
      sudo pip install cython
    • Python Developer Package
      sudo apt-get install python-dev python3-dev python-dev
    • Oracle Java 8 and set JAVA_HOME path
    • libboost for Python (Only to build from Source)
      sudo apt-get install libboost-python-dev
    • Maven (Only to build from Source)
    • g++ and other development tools (Only to build from Source)
      sudo apt-get install build-essential g++ autotools-dev libicu-dev build-essential libbz2-dev libboost-all-dev

    macOS

    • Install brew
    • Install python using brew
    • Cython
      sudo pip install cython
    • Oracle Java 8 and set JAVA_HOME path
    • boost for python (Only to build from Source)
      brew install boost
    • Maven (Only to build from Source)

    Windows

    • Install Python
    • Cython
      sudo pip install cython
    • Oracle Java 8 and set JAVA_HOME path
    • Install Visual Studio Build tools (Only to build from Source)
    • Maven (Only to build from Source)
  • Download siddhi-sdk release (1.x versions) from here and set the SIDDHISDK_HOME as an environment variable.
    export SIDDHISDK_HOME="<path-to-siddhi-sdk>"

  • Download siddhi-python-api-proxy-4-x.x.x.jar from here and copy to <SIDDHISDK_HOME>/lib directory

Installing PySiddhi4

Installing PySiddhi4 via Python Package Management

PySiddhi4 can be installed via PIP command as below.

pip install pysiddhi4
Installing PySiddhi4 from Online Code

Using the following PIP command, PySiddhi4 can be directly installed from online code available in GitHub.

pip install git+https://github.com/siddhi-io/PySiddhi/tree/4.x
Note: In case of permission errors, use sudo

Installing from Downloaded Code

Switch to the branch master of PySiddhi4. Navigate to source code root directory and execute the following PIP command.

pip install .
Note the period (.) at end of command. In case of permission errors, use sudo

Uninstalling PySiddhi4

If the library has been installed as explained above, it could be uninstalled using the following pip command.

pip uninstall pysiddhi4

Refer the user guide for using Siddhi in Python.

For other Siddhi Versions refer the Download Archives

Top