credis 介绍
credis 是使用 cython 开发的 Redis 的 Python
客户端开发包。
示例代码:
>>> from credis import Connection
>>> conn = Connection(host='127.0.0.1', port=6379)
>>> conn.execute('set', 'test', 1)
'OK'
>>> conn.execute('get', 'test')
'1'
credis 官网
https://github.com/yihuang/credis