-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Former-commit-id: 9eecef2
- Loading branch information
lucananni93
committed
Apr 9, 2017
1 parent
66c4930
commit 702045c
Showing
2 changed files
with
3 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.