Skip to content

Commit 8a83ed2

Browse files
authored
Merge pull request #68 from HTTP-APIs/master
Sync develop with master
2 parents f56128e + 13c24e6 commit 8a83ed2

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: python
2+
services:
3+
- docker
4+
5+
before_script:
6+
- docker run -d -p 6379:6379 -it --rm --name redisgraph redislabs/redisgraph
7+
8+
python:
9+
- "3.5"
10+
- "3.5-dev" # 3.5 development branch
11+
- "3.6"
12+
- "3.6-dev" # 3.6 development branch
13+
- "3.7-dev"
14+
install:
15+
- pip install -e git+https://github.com/HTTP-APIs/hydrus#egg=hydrus
16+
- pip install -e .
17+
18+
script: python -m unittest discover

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
# python-hydra-agent
1+
# python-hydra-agent [![Build Status](https://travis-ci.com/HTTP-APIs/python-hydra-agent.svg?branch=master)](https://travis-ci.com/HTTP-APIs/python-hydra-agent)
22

3-
The python-hydra-agent is a smart python hydra client which is working with [hydrus](https://github.com/HTTP-APIs/hydrus).
3+
For a general introduction to Hydra Ecosystem, see [hydraecosystem.org](http://hydraecosystem.org).
44

5-
It caches the server data from hydra server for fast data querying.
5+
`python-hydra-agent` is a smart Hydra client implemented in Python which works with [hydrus](https://github.com/HTTP-APIs/hydrus). Reference implementation is [Heracles.ts](https://github.com/HydraCG/Heracles.ts). Smart clients are generic automated clients that establish resilient connected data networks leveraging knowledge graphs.
66

7-
It uses Redis to cache the data at the end of the client.
7+
## General characteristics
88

9-
So, Data is loaded from the server and store in Redis memory as a graph using redisgraph.
9+
The client is designed to:
10+
* Cache metadata from the Hydra server it connects to, to allow querying on the client-side;
11+
* Use Redis as a graph-store leveraging `redisgraph` (see [here](https://oss.redislabs.com/redisgraph/));
12+
* simply, metadata and data are loaded from the server and stored in Redis;
13+
* The graph can be queried using OpenCypher.
1014

11-
With the help of Redis, clients become faster and easier to query the data.
15+
The starting objective is to create a querying layer that is able to reach data in one or more Hydra srever/s. Leveraging Redis, clients can construct their own representation of the data stored in one or more Hydra servers; querying the data as they need it, and respond complex semantic queries. This will allow any client connected to any server to have access to an "aggregated view" of the connected network (the network of all the servers it connects to).
16+
17+
## Missing bits at the moment
18+
* For now it is a proof-of-concept, only `GET` functionality
19+
* Soon to develop, a reliable synchronization mechanism to allow strong consistency between server-side data and client-side representation.
1220

1321
## Installation
1422

hydra_agent/tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)