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
- Host: GitHub
- URL: https://github.com/vsergeyev/miniredis-python
- Owner: vsergeyev
- Created: 2012-07-10T16:36:14.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-07-12T09:22:11.000Z (almost 14 years ago)
- Last Synced: 2025-08-17T16:14:14.588Z (9 months ago)
- Language: Python
- Size: 93.8 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
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')