This release is a pre-release and may not be stable for production use.
kombu-asyncio
Asyncio-native rewrite of Kombu, the well-established messaging library behind Celery. This is the messaging layer for celery-asyncio.
This project is exploratory. It is not affiliated with or endorsed by the Celery project. If you're looking for the official production-ready messaging library, use the original Kombu with or without Celery.
This package exists as a standalone library for compatibility with packages that import from kombu directly (e.g. Celery Flower). Long-term it will probably be merged into celery-asyncio.
Overview
- Ground-up asyncio rewrite, all operations are
async/await, no sync API - Transports: Valkey/Redis, AMQP (via aio-pika), Memory, Filesystem
- Exchange types: direct, fanout, topic (emulated on Valkey/Redis)
- Not a drop-in replacement for Kombu, this is a completely breaking change from the original
Key differences from Kombu
| Kombu | kombu-asyncio |
|---|---|
with Connection() as conn: |
async with Connection() as conn: |
conn.drain_events() |
await conn.drain_events() |
producer.publish(...) |
await producer.publish(...) |
message.ack() |
await message.ack() |
| Sync API | Async only |
Requirements
- Python 3.14+
- valkey-py 6.1+ or redis-py 7.1+ (Valkey/Redis transport)
- aio-pika 9+ (AMQP transport, optional)
Attribution
This project is an asyncio rewrite of Kombu by Ask Solem & contributors. The 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 (same as Kombu)
Metadata
Release files for kombu-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)
| File | Size | Uploaded | |
|---|---|---|---|
| kombu_asyncio-6.0.0a4.tar.gz | 87.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kombu_asyncio-6.0.0a4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 197.2 kB
Release files / kombu_asyncio-6.0.0a4.tar.gz
| Download URL | kombu_asyncio-6.0.0a4.tar.gz |
|---|---|
| Size | 87.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27d428b0e5bc72dba4766d2b44faa8947eb06448caba41db3fb876683b33860f
|
|
BLAKE2b-256 checksum How to use checksums |
d856e98bdda167440b61c77fe7857a40375d49297c1410a5d2fcab484ccea39c
|
| 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 logRelease files / kombu_asyncio-6.0.0a4-py3-none-any.whl
| Download URL | kombu_asyncio-6.0.0a4-py3-none-any.whl |
|---|---|
| Size | 109.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce686f8bd43b379fe133ff1180a794d93d94b8919298c8ff4187bc1b2c739640
|
|
BLAKE2b-256 checksum How to use checksums |
7b6fe0bac443f56cb7656a527aaae68d2efa76d79cebb289f61166076e1f5636
|
| 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