Skip to content

Commit

Permalink
added image of the architecture
Browse files Browse the repository at this point in the history
Former-commit-id: 9eecef2
  • Loading branch information
lucananni93 committed Apr 9, 2017
1 parent 66c4930 commit 702045c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,5 @@
# GMQL-Python
Python-Spark implementation of the GMQL system
API for calling interactively the GMQL Engine from Python

## Requirements
- A python environment
- Apache Spark
- The following GMQL modules exported as a jar file
- GMQL-Core
- GMQL-Server
- GMQL-Spark
- The following python libraries:
- pandas
- tqdm
- spylon


## Set up of the project
The following procedure is very stupid and not user friendly and it will be changed ASAP:
1. Download this repository
2. In the file [__init__.py](gmql/__init__.py) set the `c.jars` attribute with the paths of the GMQL jar files listed above
3. In the file [__init__.py](gmql/__init__.py) set the `c._spark_home` attribute with the path of your spark installation
4. Install the code with `pip install .`

## Example of usage
Your spark engine is instantiated when you call the following
```python
import gmql as gl
```

## Tests
In the folder [tests](./tests) you can find some examples of using the library
## Architecture
![Image of the architecture](./images/PyGML - Architecture.png)
Binary file added images/PyGML - Architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 702045c

Please sign in to comment.