Redis backend for doit.
This plugin for doit add a new redis
backend, using the redis-py client.
This allows to have a more suitable backend for multi-processing, and it even allows to run multiple doit processes in parallel.
Install:
$ pip install doit-redis
Usage:
Add backend in the doit.cfg
file:
[GLOBAL]
backend = redis
[BACKEND]
redis = doit_redis:RedisDB
backend
can also be set in the dodo.py
config, and dep_file
can be used to
specify the Redis url:
DOIT_CONFIG = {
'backend': 'redis',
'dep_file': 'redis://[:password]@localhost:6379/0', # optional
}