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
- Host: GitHub
- URL: https://github.com/saimn/doit-redis
- Owner: saimn
- License: mit
- Created: 2018-03-19T10:10:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T10:49:22.000Z (about 8 years ago)
- Last Synced: 2025-02-04T12:44:49.858Z (over 1 year ago)
- Topics: doit, python, redis, task-runner
- Language: Python
- Size: 3.91 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
}
```