An open API service indexing awesome lists of open source software.

https://github.com/saimn/doit-redis

Redis backend for doit
https://github.com/saimn/doit-redis

doit python redis task-runner

Last synced: over 1 year ago
JSON representation

Redis backend for doit

Awesome Lists containing this project

README

          

# Redis backend for [doit](https://github.com/pydoit/doit).

This plugin for [doit](https://github.com/pydoit/doit) add a new `redis`
backend, using the [redis-py](https://github.com/andymccurdy/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
}
```