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.0a4

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

Built distribution (wheel)

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

Total release size: 939.2 kB

Release files / celery_asyncio-6.0.0a4.tar.gz

Download URL celery_asyncio-6.0.0a4.tar.gz
Size 569.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0c6e3fb22d27820c808d9df70946844e0f96b7eab3fa6e73ed608f4f5a83107d
BLAKE2b-256 checksum
How to use checksums
2954c2791f1fc9b1096ad2a0d668357e81ce46ce066ce207bfce696e0e94ccb3
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.0a4-py3-none-any.whl

Download URL celery_asyncio-6.0.0a4-py3-none-any.whl
Size 370.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df7c5a9fac08658fa50c3cd62e24504718773dba1fc2c1167095a81aa9201f1b
BLAKE2b-256 checksum
How to use checksums
ee9b1e68cd72b8018759024052b824b181258efa8926ae04527f2389fa60069e
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