Skip to content

Python wrapper tof OpenCypher language implementation in Redis data store

License

Notifications You must be signed in to change notification settings

R3DDY97/redis_cypher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis-cypher

OpenCypher language implementation to store data in Redis through Python3

Usage:-

Executes cypher QL in python and stores the Graph data in Redis DB

Still in development

Requires redis-server installed in the system

$ git https://github.com/R3DDY97/redis-cypher

$ cd redis-cypher && pip3 install -r requirements.txt

$ sudo apt install redis-server redis-tools

Run redis-server and then Enter python console

$ cd src && ipython3 || python3
from graph import Graph
import redis

r = redis.StrictRedis()

query = "CREATE (node:User" {name: 'User_name', type: 'R00T'})"

cypher = Graph()

result = cypher.execute_cypher(query)
To do:-
  • Make it pip package in the end
  • Finish Implementing basic cypher cluases

About

Python wrapper tof OpenCypher language implementation in Redis data store

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages