# redis-tasks
[![Build Status](https://travis-ci.com/djangsters/redis-tasks.svg?branch=master)](https://travis-ci.com/djangsters/redis-tasks)
[![Coverage Status](https://coveralls.io/repos/github/djangsters/redis-tasks/badge.svg?branch=master)](https://coveralls.io/github/djangsters/redis-tasks?branch=master)
[![Documentation Status](https://readthedocs.org/projects/redis-tasks/badge/?version=latest)](https://redis-tasks.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/redis-tasks.svg)](https://badge.fury.io/py/redis-tasks)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/redis-tasks)
`redis-tasks` is a lightweight framework created to reliably process background
tasks. Built-in `SIGTERM` signal handling makes it a great choice for a task
manager running on Heroku. Out-of-the-box provided task scheduler with a
user-friendly interface makes periodic task management easy and scalable.
For more information and usage instructions, see our [documentation](
https://redis-tasks.readthedocs.io/en/latest/).
## Monitoring
Want to monitor `redis-tasks` tasks, queues and workers? Check out [rt-dashboard](
https://github.com/djangsters/rt-dashboard) - a monitoring tool for `redis-tasks`.
## Contributing
[tox](https://tox.readthedocs.io/en/latest/index.html) is used to run the tests
and automatically sets up virtual environments to run the tests in. It
implicitly uses [virtualenv]( https://virtualenv.pypa.io/en/latest/).
To install `tox` run
```
pip install tox
```
Make sure to install the supported python versions on your local machine.
If you don't want to install all supported python versions, you can either
explicitly specify environments you want to run `tox` in or alternatively you
could run `tox` with the [--skip_missing_interpreters](
https://tox.readthedocs.io/en/latest/config.html#conf-skip_missing_interpreters)
flag.
### Running tests
You can run all the tests with
```
tox
```
or run specific test environments, for example only tests on Python 3.8, with
```
tox -e py38
```
If you want to customize the pytest run, you can pass in pytest arguments
after the `--` like so
```
tox -e py38 -- tests/test_cli.py
```
This will run tests only on Python 3.8 and from one module `tests/test_cli.py`
only.
### Running linter checks
You can run `flake8` checks with
```
tox -e flake8
```
`flake8` checks are also run as a part of the all tests run with
```
tox
```
### Building documentation locally
You can build documentation locally with
```
tox -e docs
```
The built html files will be located in `docs/build/html`.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共56个文件
py:43个
txt:5个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:redis-tasks-0.0.11.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
redis-tasks-0.0.11.tar.gz (56个子文件)
redis-tasks-0.0.11
MANIFEST.in 99B
PKG-INFO 3KB
redis_tasks.egg-info
PKG-INFO 3KB
requires.txt 41B
not-zip-safe 1B
SOURCES.txt 1KB
entry_points.txt 53B
top_level.txt 18B
dependency_links.txt 1B
tests
test_worker.py 7KB
test_utils.py 1KB
test_task.py 9KB
test_smear_dst.py 1KB
utils.py 1KB
test_scheduler.py 13KB
conftest.py 4KB
test_maintenance.py 481B
test_registries.py 4KB
test_task_execution.py 8KB
test_workhorse.py 3KB
app
__init__.py 0B
settings.py 39B
import_me.py 20B
settings_a.py 47B
__init__.py 0B
test_conf.py 1KB
test_workerprocess.py 10KB
test_queue.py 6KB
contrib
test_graph.py 2KB
__init__.py 0B
test_cli.py 2KB
tox.ini 587B
LICENSE 7KB
setup.cfg 106B
setup.py 2KB
redis_tasks
queue.py 4KB
task.py 13KB
conf.py 3KB
utils.py 4KB
cli.py 6KB
worker_process.py 11KB
registries.py 4KB
__init__.py 282B
scheduler.py 8KB
smear_dst.py 3KB
defaults.py 1KB
worker.py 5KB
contrib
sentry.py 1KB
__init__.py 0B
graph.py 3KB
django
management
commands
redis_tasks.py 1KB
__init__.py 0B
__init__.py 0B
__init__.py 1KB
exceptions.py 467B
README.md 3KB
共 56 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于JavaScript讲解的数据结构和算法
- python计算机视觉python-computer-vision.rar
- VB+ACCESS计算机等级考试管理系统(源代码+系统+答辩PPT).zip
- python密码python-ciphers.rar
- 2c60fbb3dt9ad50ed8864298eea1484b.MP4
- 基于yolov8+dlib实现视觉识别的安全驾驶监测系统部署到jetson NX平台源码+模型.zip
- Qt框架+OpenCV+动态爱心+编程教学+520
- 基于opencv+yolov8实现目标追踪及驻留时长统计源码.zip
- 水稻病害基于Yolov8算法优化目标检测识别与AI辅助决策python源码+模型+使用说明.zip
- 海尔618算价表_七海5.20_16.00xlsx(1)(2).xlsx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功