Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged with WSO2 DAS Client Code #4

Merged
merged 4 commits into from
Aug 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,25 @@

*You are currently in branch for PySiddhi 3.x*

The scope of this project is to develop a Python Wrapper on Siddhi CEP Library. The Python wrapper would support Siddhi 3.1 and Siddhi 4.0.
The scope of this project is to develop a Python Wrapper on Siddhi CEP Library. The Python wrapper would support Siddhi 3.1 and Siddhi 4.0. A REST Client is also developed to interact with WSO2 Data Analytics Server (DAS) 4.0.

This is currently a work in progress, as a project for Google Summer of Code 2017 Program.

*Note: Currently the API is configured with __Siddhi CEP 3.1.0__ (in branch 3.x) and __Siddhi CEP 4.0.0-M43-SNAPSHOT__ (in branch master) for __Python 2.7.x__ and __Python 3.x__*
*Note: Currently the API is configured with __Siddhi CEP 3.1.0__ (in branch 3.x), __Siddhi CEP 4.0.0-M43-SNAPSHOT__ (in branch master) and __WSO2 Data Analytics Server (DAS) 4.0.0-M6-SNAPSHOT__ (in branch master) for __Python 2.7.x__ and __Python 3.x__*

Project Goals
-----
1) Develop a Python Wrapper on Siddhi Java Library 3.1 and 4.0.
2) Testing, Documentation and Deployment
2) Extend the wrapper to support interactions with WSO2 DAS 4.0.
3) Testing, Documentation and Deployment

Current Progress
-----
- [x] Basic features of Siddhi CEP Core 3.1 and 4.0
- [x] Wrapper on Siddhi Debugger (for PySiddhi4 only)
- [x] Support to Siddhi Extensions Loading
- [x] Rest Client on WSO2 DAS 4.0 - Siddhi App Management (for PySiddhi4 only)
- [x] Rest Client on WSO2 DAS 4.0 Event Simulator (for PySiddhi4 only)
- [x] Unit Tests
- [x] Wiki
- [x] Deployment wheels
Expand All @@ -34,10 +37,12 @@ Installing the Library from Source
- Maven and Java 8
- g++ and other development tools
- `sudo apt-get install build-essential g++ autotools-dev libicu-dev build-essential libbz2-dev libboost-all-dev`
- For use of WSO2 DAS 4.0 Client functionality, it is required to have WSO2 DAS 4.0 installed and running. (Refer _Running the Tests_ section of README.md in master branch)
- Requests (`sudo apt-get install requests` for PySiddhi4 only)

2. Install using Setup.py.
- Clone the relevant branch (3.1 or 4.0) from GitHub Repository.
- Navigate to project root and run `sudo pip3 install .`
- Navigate to project root and run `sudo pip install .`

3. Use the Library using Python.
- For Siddhi CEP 3.1
Expand All @@ -63,7 +68,7 @@ Running the Tests
2. Compile Java Libraries.
- Navigate to `PySiddhi/__PySiddhi3Proxy` and run `mvn install`
- Navigate to `SiddhiCEPPythonAPI/SiddhiCEP4/ProxyClasses/SiddhiCEP4Proxy` and run `mvn clean install`
- Run the tests cases in `PySiddhi/Tests/PySiddhi3Tests` directory
3. Run the tests cases in `PySiddhi/Tests/PySiddhi3Tests` directory

*If mvn clean install throws errors, check the paths provided for imports of Python3 Developer Headers

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run(self):

setup(
name="PySiddhi3",
version="0.1.dev",
version="1.0.dev",
packages=filtered_packages,
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4',
install_requires=["pyjnius", "future", "enum34 ; python_version<'3.4'"],
Expand Down