没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
茴香 基于Redis Streams的Python 3.7+的任务队列,带有类似Celery的API。 注意:这是Alpha版本。 该项目正在开发中,可能会发生重大变化。 特征 支持同步(例如Django,Flask)和异步(例如Starlette,FastAPI)代码。 Sane默认值:处理语义至少一次,完成后确认任务。 自动重试,并具有指数退还功能,可用于即发即忘的工作。 清除可用的任务状态(例如,发送,执行,成功)。 自动任务发现(默认使用**/tasks.py )。 很小巧且易于理解的代码库。 安装 pip install fennel 基本用法 运行 ,然后在tasks.py执行代码: from fennel import App app = App ( name = 'myapp' , redis_url = 'redis://127.0.0.1' ) @ app
资源推荐
资源详情
资源评论
收起资源包目录
fennel-master.zip (93个子文件)
fennel-master
poetry.lock 64KB
fennel
client
results.py 2KB
task.py 2KB
waiting.py 1KB
state.py 2KB
__init__.py 434B
aio
results.py 2KB
task.py 2KB
waiting.py 852B
state.py 2KB
__init__.py 508B
actions.py 3KB
actions.py 3KB
app.py 6KB
worker
executor.py 9KB
broker.py 9KB
discovery.py 943B
lua
schedule.lua 598B
maintenance.lua 2KB
__init__.py 394B
worker.py 2KB
models.py 1KB
job.py 2KB
utils.py 2KB
cli.py 3KB
keys.py 719B
__main__.py 34B
__init__.py 54B
settings.py 5KB
status.py 1011B
logging.py 3KB
exceptions.py 2KB
pyproject.toml 1KB
docs
reference.rst 878B
conf.py 2KB
architecture.rst 8KB
make.bat 795B
installation.rst 106B
guide.rst 9KB
cli.rst 69B
changelog.rst 861B
motivation.rst 123B
requirements.txt 2KB
Makefile 634B
index.rst 2KB
example.py 577B
.github
workflows
publish.yml 377B
tests.yml 894B
tests
conftest.py 2KB
performance
test_benchmark.py 1KB
__init__.py 0B
stress
test_blocking.py 2KB
__init__.py 0B
aio
test_blocking.py 2KB
__init__.py 0B
unit
client
test_waiting.py 3KB
test_state.py 981B
__init__.py 0B
test_actions.py 3KB
aio
test_waiting.py 3KB
test_state.py 1KB
__init__.py 0B
test_actions.py 3KB
test_interface.py 1KB
test_interface.py 1KB
test_utils.py 328B
test_job.py 2KB
worker
test_handle.py 3KB
test_broker.py 4KB
__init__.py 0B
test_execution.py 764B
test_discovery.py 2KB
test_loop.py 1KB
test_ack.py 3KB
__init__.py 0B
test_cli.py 2KB
__init__.py 0B
integration
test_worker.py 960B
test_cancellation.py 1KB
test_dead.py 1KB
test_recovery.py 3KB
__init__.py 0B
helpers
results.py 496B
job.py 432B
mocking.py 177B
__init__.py 214B
worker.py 1KB
tox.ini 165B
LICENSE 1KB
setup.cfg 436B
.gitignore 2KB
Makefile 151B
README.md 2KB
共 93 条
- 1
资源评论
笨猫猪
- 粉丝: 30
- 资源: 4732
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功