Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kombu_asyncio-6.0.0a3.tar.gz (75.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kombu_asyncio-6.0.0a3-py3-none-any.whl (95.2 kB view details)

Uploaded Python 3

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

Hashes for kombu_asyncio-6.0.0a3.tar.gz
Algorithm Hash digest
SHA256 f9b3cd825920f7e06bba431d3613a25daee775bf7a959148c1ab2d5f394f079b
MD5 b440dae936dc37113defed34a9825d1c
BLAKE2b-256 1b9ec89a24b85396b63280c43a6a153fb5d9594341295214af87d8d1ddb8ae6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for kombu_asyncio-6.0.0a3.tar.gz:

Publisher: publish.yml on oliverhaas/kombu-asyncio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kombu_asyncio-6.0.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for kombu_asyncio-6.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 d3c8de545b5476ea8559eb487a00886f6f9326b806ba8dd89ea2be534625f274
MD5 5a1cfca681a1b071d964b7f669528ab8
BLAKE2b-256 d067897a85fe61f4d93b174826d70bd97824ff5ca832dd719c5b127f8e5292b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for kombu_asyncio-6.0.0a3-py3-none-any.whl:

Publisher: publish.yml on oliverhaas/kombu-asyncio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page