Skip to content

victor141516/Redpie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Redpie

Use redis just like a Python dictionary

How to use

Installation

$ pip install redpie

Usage

from redpie import Redpie

r = Redpie(db=0, host='localhost', port=6379)  # Or just r = Redpie(); 0, localhost and 6379 are defaults


from requests import Session

r.update({
    'you can': 'assign basic types',
    'and even more complex things': Session
})

>>> print(r['and even more complex things']())
<requests.sessions.Session object at 0x10c68d5c0>

Releases

No releases published

Packages

No packages published

Languages