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 the bundled asyncio kombu package
  • Celery Flower for monitoring, installed with --no-deps alongside the flower extra
  • 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+
  • 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.

This distribution also ships the kombu package, an asyncio rewrite of Kombu by Ask Solem & contributors. Its utility modules (kombu/utils/, kombu/clocks.py, kombu/compression.py, kombu/log.py, kombu/matcher.py, kombu/serialization.py, kombu/exceptions.py) are largely carried over from the original with minor modernization; the transport layer and core messaging/connection modules were written from scratch for asyncio. Files containing substantial original Kombu code are marked with a header comment.

License

BSD-3-Clause

Metadata

Release files for celery-asyncio 6.0.0a6

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.0a6
File Size Uploaded
celery_asyncio-6.0.0a6.tar.gz 757.4 kB Details

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / celery_asyncio-6.0.0a6.tar.gz

Download URL celery_asyncio-6.0.0a6.tar.gz
Size 757.4 kB
Tags Source
SHA-256 checksum
How to use checksums
32ffdb2cac87c38b96685bbc0030a58af7529f2bcc96b1cb1aa08e38d1e09787
BLAKE2b-256 checksum
How to use checksums
1dcbed2317cdd8b35a496904730349116c76affe05478edb27cc23d0fc9edc74
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 Sep 3, 2026.

Transparency log

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

Download URL celery_asyncio-6.0.0a6-py3-none-any.whl
Size 484.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd4e5788dc7443e056a3d95a96355964c0fb692eae8463ed426fc4804c90fd2c
BLAKE2b-256 checksum
How to use checksums
4a6ea95f2f56e78db6fc2b888b4a783d5e1e47516fedde2b3114e698919e5a3e
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 Sep 3, 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