Redis support for applauncher
pip install redis_bundle
Then add to your main.py
import redis_bundle
bundle_list = [
redis_bundle.RedisBundle(),
]
redis:
hostname: 'localhost'
database: 0
You can use all parameters supported by redis.Redis
Inject Redis
import inject
from redis import Redis
redis = inject.instance(Redis)
redis.set('foo', 'bar')
redis.get('foo')