Skip to content

zachwill/simplest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplest

Working with Redis should be simple and Pythonic.

Installation

pip install simplest

Usage

>>> from simplest import Redis

>>> r = Redis(db="test")

>>> r['abc'] is None
True

>>> r['abc'] = 'xyz'

>>> r['abc']
'xyz'

>>> r['abc'] = (1, 2, 3)

>>> r['abc']
['1', '2', '3']

>>> r['abc'] = set([1, 2, 3])

>>> r['abc']
set([1, 2, 3])

About

Working with Redis should be simple and Pythonic

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages