Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

celery-asyncio

Distributed task queue with native asyncio support. An asyncio-native rewrite of Celery, one of the most widely used distributed task systems in the Python ecosystem.

This project is exploratory. It is not affiliated with or endorsed by the Celery project. If you're looking for the official production-ready task queue, use the original Celery.

Features

  • Native asyncio worker with hybrid thread pool for mixed async/sync workloads
  • async def tasks run directly on the event loop, no thread overhead
  • Sync tasks run in a thread pool alongside async tasks in the same worker
  • Valkey/Redis and AMQP transports via kombu-asyncio
  • Celery Flower works out of the box for monitoring
  • Django 6.0 Tasks support via django-tasks-celery
  • Targeting Python 3.14t free-threading for true parallelism

Quick Start

from celery import Celery

app = Celery("tasks", broker="redis://localhost:6379/0")

@app.task
async def add(x, y):
    return x + y

@app.task
def multiply(x, y):
    return x * y
celery -A tasks worker --loglevel=info -E

Both add (async) and multiply (sync) run in the same worker.

Documentation

Full documentation at oliverhaas.github.io/celery-asyncio

Requirements

  • Python 3.14+
  • kombu-asyncio 6.0+
  • Valkey 8+ or Redis 7+ or RabbitMQ 4+

Attribution

This project is an asyncio rewrite of Celery by Ask Solem, Asif Saif Uddin & contributors. Much of the utility layer (celery/utils/, celery/loaders/, celery/bin/), scheduling (celery/schedules.py, celery/beat.py), data structures (celery/canvas.py, celery/result.py, celery/states.py), and app framework (celery/app/) are carried over from the original with targeted modifications. The worker event loop (celery/worker/loops.py), asyncio pool (celery/concurrency/aio.py), promise system (celery/utils/promises.py), and timer/hub (celery/utils/scheduling.py) were written from scratch. Files containing substantial original Celery code are marked with a header comment.

License

BSD-3-Clause

Metadata

Release files for celery-asyncio 6.0.0a5

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

Source distribution (sdist)

Source distribution for celery-asyncio 6.0.0a5
File Size Uploaded
celery_asyncio-6.0.0a5.tar.gz 569.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for celery-asyncio 6.0.0a5
File Interpreter ABI Platform
celery_asyncio-6.0.0a5-py3-none-any.whl Python 3 none any Details

Total release size: 939.5 kB

Release files / celery_asyncio-6.0.0a5.tar.gz

Download URL celery_asyncio-6.0.0a5.tar.gz
Size 569.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4ad2d13789883fe40e15337babcb21479533772149ec399d29b82d641079a066
BLAKE2b-256 checksum
How to use checksums
3fdb3a501675bc295d4c3d2620687acd377cc2c346b151d9b52b584cd5e1dd62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / celery_asyncio-6.0.0a5-py3-none-any.whl

Download URL celery_asyncio-6.0.0a5-py3-none-any.whl
Size 370.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94307a9ccf00d696c76d09dbfcfa86a2f2227415c3b0dc00863626feaa6ce50b
BLAKE2b-256 checksum
How to use checksums
cb1476f8c95eb07c617a5a3ce1b7aef327b1e70e6add596ea525393247c5b003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log
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