An open API service indexing awesome lists of open source software.

https://github.com/vsergeyev/miniredis-python

A 20 lines redis client in python
https://github.com/vsergeyev/miniredis-python

Last synced: 4 months ago
JSON representation

A 20 lines redis client in python

Awesome Lists containing this project

README

          

miniredis-python
================

Lightweight redis client in python

Inspired by https://github.com/stulentsev/miniredis-ruby

Usage:

import miniredis

cli = miniredis.MiniRedis() # host/port can be set here

cli.set('a', 1)
cli.get('a')

cli.sadd('b', 1, 2, 3)
cli.smembers('b')