Skip to content

vsergeyev/miniredis-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')

About

A 20 lines redis client in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages