Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

This modules allows you to use redis just like a Python dictionary

Project description

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>

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for redpie, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size redpie-0.0.1-py3-none-any.whl (6.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size redpie-0.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page