redis-bundle

Redis support for applauncher


Keywords
applauncher, bundle, redis
License
MIT
Install
pip install redis-bundle==0.2

Documentation

Redis bundle for AppLauncher

Redis support for applauncher

Installation

pip install redis_bundle 

Then add to your main.py

import redis_bundle

bundle_list = [
    redis_bundle.RedisBundle(),
]

Configuration

redis:
  hostname: 'localhost'
  database: 0

You can use all parameters supported by redis.Redis

Using it

Inject Redis

import inject
from redis import Redis
redis = inject.instance(Redis)

redis.set('foo', 'bar')
redis.get('foo')