Skip to main content
https://docs.celeryq.dev/en/latest/_images/celery-banner-small.png

BSD License Celery can be installed via wheel Supported Python versions.

Version:

1.1.33

Web:

http://celeryproject.org/

Download:

https://pypi.org/project/deepfos-celery/

Source:

https://gitee.com/python-development-team/deepfos-celery/

Keywords:

task, queue, job, async, rabbitmq, amqp, redis, python, distributed, actors

What is this?

本项目基于 celery-5.0.5 开发,主要功能:

  • 添加 asyncio 支持,更容易集成到异步web框架

  • 支持 redis 集群

注:项目是 ``celery`` 的超集,但并非所有功能都支持 ``asyncio`` ,并且目前仅完成了 ``redis`` 作为 ``broker`` 和 ``backend`` 的支持。

Get Started

创建任务和官方 celery 一样:

from celery import Celery

app = Celery('hello', broker='redis://:@localhost/')

@app.task(aio_variant=True)
def hello():
    return 'hello world'

但增加了 aio_variant 这一参数,相较于普通的任务发送和获取结果的方式:

task = hello.apply_async()
result = task.get()

可以使用:

task = await hello.aio.apply_async()
result = await task.get()

注意

这不只是一个简单的语法糖,而是确实使用 aioredis 替换了原有 redis-py 的同步网络请求。

License

This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.

Metadata

Release files for deepfos-celery 1.1.33

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepfos-celery 1.1.33
File Size Uploaded Provenance Actions
deepfos_celery-1.1.33.tar.gz 1.5 MB Without provenance Details for deepfos_celery-1.1.33.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deepfos-celery 1.1.33
File Interpreter ABI Platform Actions
deepfos_celery-1.1.33-py3-none-any.whl Python 3 none any Details for deepfos_celery-1.1.33-py3-none-any.whl

Total release size: 2.0 MB

Release files / deepfos_celery-1.1.33.tar.gz

Download URL deepfos_celery-1.1.33.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
628c0df5eecff22c695a211882c98a84bea6fc81734096a5e8c64ee96023bded
BLAKE2b-256 checksum
How to use checksums
77a6237744f3195089d7ef735f1e6cfcf59645803441580b5897ed303fe1eb89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / deepfos_celery-1.1.33-py3-none-any.whl

Download URL deepfos_celery-1.1.33-py3-none-any.whl
Size 458.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
651a63e7d13c7a572bc9dc0b5acfb12b8d3bb48ae1cfed6257757686b77754ba
BLAKE2b-256 checksum
How to use checksums
395702773810e2b9ab81a3f8f20b3ded3685a84b11826f09d3b3c37b22df5b82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for deepfos-celery 1.1.33

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.33 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page