Pure asyncio messaging library for Python
Project description
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 our 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 + async 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)
License
BSD-3-Clause (same as Kombu)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kombu_asyncio-6.0.0a3.tar.gz.
File metadata
- Download URL: kombu_asyncio-6.0.0a3.tar.gz
- Upload date:
- Size: 75.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9b3cd825920f7e06bba431d3613a25daee775bf7a959148c1ab2d5f394f079b
|
|
| MD5 |
b440dae936dc37113defed34a9825d1c
|
|
| BLAKE2b-256 |
1b9ec89a24b85396b63280c43a6a153fb5d9594341295214af87d8d1ddb8ae6b
|
Provenance
The following attestation bundles were made for kombu_asyncio-6.0.0a3.tar.gz:
Publisher:
publish.yml on oliverhaas/kombu-asyncio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kombu_asyncio-6.0.0a3.tar.gz -
Subject digest:
f9b3cd825920f7e06bba431d3613a25daee775bf7a959148c1ab2d5f394f079b - Sigstore transparency entry: 1244148149
- Sigstore integration time:
-
Permalink:
oliverhaas/kombu-asyncio@51dd0a93004575da268385ab2c2b1efe1faef09b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/oliverhaas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@51dd0a93004575da268385ab2c2b1efe1faef09b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file kombu_asyncio-6.0.0a3-py3-none-any.whl.
File metadata
- Download URL: kombu_asyncio-6.0.0a3-py3-none-any.whl
- Upload date:
- Size: 95.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3c8de545b5476ea8559eb487a00886f6f9326b806ba8dd89ea2be534625f274
|
|
| MD5 |
5a1cfca681a1b071d964b7f669528ab8
|
|
| BLAKE2b-256 |
d067897a85fe61f4d93b174826d70bd97824ff5ca832dd719c5b127f8e5292b3
|
Provenance
The following attestation bundles were made for kombu_asyncio-6.0.0a3-py3-none-any.whl:
Publisher:
publish.yml on oliverhaas/kombu-asyncio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kombu_asyncio-6.0.0a3-py3-none-any.whl -
Subject digest:
d3c8de545b5476ea8559eb487a00886f6f9326b806ba8dd89ea2be534625f274 - Sigstore transparency entry: 1244148150
- Sigstore integration time:
-
Permalink:
oliverhaas/kombu-asyncio@51dd0a93004575da268385ab2c2b1efe1faef09b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/oliverhaas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@51dd0a93004575da268385ab2c2b1efe1faef09b -
Trigger Event:
workflow_dispatch
-
Statement type: