All Projects → RedisGraph → Redisgraph Py

RedisGraph / Redisgraph Py

Licence: bsd-3-clause
RedisGraph python client

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Redisgraph Py

Redisgraph
A graph database as a Redis module
Stars: ✭ 1,292 (+778.91%)
Mutual labels:  cypher, redis
Redisgraph.js
A Javascript client for RedisGraph
Stars: ✭ 84 (-42.86%)
Mutual labels:  cypher, redis
Java Apollo
关于自己的一些学习文档和学习心得都放在这里啦!!!
Stars: ✭ 140 (-4.76%)
Mutual labels:  redis
Tendis
Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.
Stars: ✭ 2,295 (+1461.22%)
Mutual labels:  redis
Bricks
A standard library for microservices.
Stars: ✭ 142 (-3.4%)
Mutual labels:  redis
Skill6 Website Backend
java进阶开发,高级版web项目。基于dubbo实现分布式微服务架构,基于spring boot、spring mvc、mybatis、docker、ELK、redis、vue.js、node.js等技术实现的技术分享交流网站。网站名称:技术流,英文名:skill6。主要功能有:登录注册、单点登录、restful设计、文章及评论、代码及资源下载、主题讨论等。持续更新中...
Stars: ✭ 140 (-4.76%)
Mutual labels:  redis
Metricio
⚡ Simple framework for easily creating dashboards to display metrics ⚡
Stars: ✭ 142 (-3.4%)
Mutual labels:  redis
Lua Resty Redis Ratelimit
Limit the request processing rate between multiple NGINX instances backed by Redis
Stars: ✭ 139 (-5.44%)
Mutual labels:  redis
Okhelper Service
OK帮 云进销存 (SpringBoot Restful 全家桶)
Stars: ✭ 146 (-0.68%)
Mutual labels:  redis
Redis exporter
Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x, 4.x, 5.x and 6.x
Stars: ✭ 2,092 (+1323.13%)
Mutual labels:  redis
Delayer
🌶️ 基于 Redis 的延迟队列中间件,采用 Golang 开发,支持 PHP、Golang 等多种语言客户端
Stars: ✭ 145 (-1.36%)
Mutual labels:  redis
Redis dashboard
Sinatra app to monitor Redis servers.
Stars: ✭ 141 (-4.08%)
Mutual labels:  redis
Redis Client App
A redis client application on mac, windows and linux.
Stars: ✭ 140 (-4.76%)
Mutual labels:  redis
Go Notify
An email automation solution, written in Golang.
Stars: ✭ 143 (-2.72%)
Mutual labels:  redis
Lovinghome Real Estate Platform
⚡️基于springboot+MyBatis+FreeMarker+redis+nginx+Echarts+druid等技术的JavaWeb项目------恋家房产平台(采用B/S架构,项目包含前后台,分为前台展示系统及后台管理系统。前台系统包含首页门户、登录注册、房产推荐、房产详情、热门房产、房产及小区搜索、经纪人列表及经纪机构创建、创建房产、房产百科、地图找房、用户个人中心、房产评论、房产打分等模块。 后台管理系统包含房产信息管理、用户管理、管理员管理、小区信息管理、博客管理、评论管理、经纪人管理、系统统计与多种图表展示、数据报表导入导出等模块。系统介绍及详细功能点、技术点见项目内文档描述)
Stars: ✭ 140 (-4.76%)
Mutual labels:  redis
Redis
Type-safe Redis client for Golang
Stars: ✭ 13,117 (+8823.13%)
Mutual labels:  redis
Redis web manager
Manage your Redis instance (see keys, memory used, connected client, etc...)
Stars: ✭ 139 (-5.44%)
Mutual labels:  redis
Ssm
👅基于RESTful风格的前后端分离的SSM框架,集成了shiro和swagger等框架
Stars: ✭ 141 (-4.08%)
Mutual labels:  redis
Redis Operator
Redis Operator creates/configures/manages Redis clusters atop Kubernetes
Stars: ✭ 142 (-3.4%)
Mutual labels:  redis
Warp Api Starter Template
A boilerplate template for starting a web services using Warp + SQLx (PostgreSQL) + Redis + Juniper (GraphQL). ❤️
Stars: ✭ 145 (-1.36%)
Mutual labels:  redis

license CircleCI PyPI version GitHub issues Codecov Known Vulnerabilities Total alerts

redisgraph-py

Forum Discord

RedisGraph python client

Example: Using the Python Client

import redis
from redisgraph import Node, Edge, Graph, Path

r = redis.Redis(host='localhost', port=6379)

redis_graph = Graph('social', r)

john = Node(label='person', properties={'name': 'John Doe', 'age': 33, 'gender': 'male', 'status': 'single'})
redis_graph.add_node(john)

japan = Node(label='country', properties={'name': 'Japan'})
redis_graph.add_node(japan)

edge = Edge(john, 'visited', japan, properties={'purpose': 'pleasure'})
redis_graph.add_edge(edge)

redis_graph.commit()

query = """MATCH (p:person)-[v:visited {purpose:"pleasure"}]->(c:country)
		   RETURN p.name, p.age, v.purpose, c.name"""

result = redis_graph.query(query)

# Print resultset
result.pretty_print()

# Use parameters
params = {'purpose':"pleasure"}
query = """MATCH (p:person)-[v:visited {purpose:$purpose}]->(c:country)
		   RETURN p.name, p.age, v.purpose, c.name"""

result = redis_graph.query(query, params)

# Print resultset
result.pretty_print()

# Use query timeout to raise an exception if the query takes over 10 milliseconds
result = redis_graph.query(query, params, timeout=10)

# Iterate through resultset
for record in result.result_set:
	person_name = record[0]
	person_age = record[1]
	visit_purpose = record[2]
	country_name = record[3]

query = """MATCH p = (:person)-[:visited {purpose:"pleasure"}]->(:country) RETURN p"""

result = redis_graph.query(query)

# Iterate through resultset
for record in result.result_set:
    path = record[0]
    print(path)


# All done, remove graph.
redis_graph.delete()

Installing

Install official release

pip install redisgraph

Install latest release (Aligned with RedisGraph master)

pip install git+https://github.com/RedisGraph/[email protected]

Install for development in env

tox -e env
source ./tox/env/bin/activate
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].