skillfed

taskiq-aio-pika

RabbitMQ broker for taskiq

taskiq-aio-pika v0.6.0 356.1K downloads/30d#7,284 on PyPI
Permissive license MIT Active released

What it is and what it does

taskiq-aio-pika is a RabbitMQ broker for the taskiq async task queue framework. It connects taskiq's task distribution model to RabbitMQ as the underlying message broker, allowing you to define async tasks with decorators and execute them across distributed workers. The package handles the full lifecycle of task serialization, routing, and delivery through RabbitMQ.

It supports delayed task execution via dead-letter queues or the RabbitMQ delayed-message-exchange plugin, message priorities for controlling delivery order, and multi-queue setups with custom routing keys. Tasks can be defined with default delays and priorities, then overridden per-invocation using kicker labels. Configuration is declarative through Queue and Exchange objects that merge with broker defaults.

Use it for:

  • Distribute long-running async operations across multiple worker processes using RabbitMQ as the message backbone.
  • Schedule tasks to execute after a delay, using either dead-letter expiration or the delayed-message-exchange plugin.
  • Prioritize certain tasks over others by assigning priority labels, ensuring high-urgency work is processed first.
  • Route different task types to separate queues with custom routing keys for workload isolation and scaling.
  • Build a microservice architecture where multiple services publish and consume tasks through a shared RabbitMQ cluster.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a RabbitMQ broker implementation for taskiq, enabling asynchronous task distribution with support for delayed messages, priorities, and multi-queue routing.

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. It fills a clear role as the RabbitMQ integration for taskiq. Install it if you need RabbitMQ as your task broker; skip it if you're using a different broker or don't need distributed async task execution.

Install

taskiq-aio-pika on PyPI

pip

pip install taskiq-aio-pika

uv

uv add taskiq-aio-pika

poetry

poetry add taskiq-aio-pika

Installing taskiq-aio-pika

Before you install

Low install friction with three runtime dependencies (taskiq, aio-pika, aiostream). Actively maintained with recent releases; supports Python 3.10 through 3.13.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install taskiq-aio-pika

from taskiq_aio_pika import AioPikaBroker

broker = AioPikaBroker()

@broker.task
async def test() -> None:
    print("nothing")

Requires a running RabbitMQ server; Python 3.10 or later.

Verify before relying

  • Whether the delayed-message-exchange plugin is optional or required for delay functionality
  • Performance characteristics under high message volume or with many concurrent tasks

Package facts

License MIT (permissive)
Python support supports the current Python release (<4,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — taskiq, aio-pika, aiostream
Maintenance actively maintained — 167 days since the last release
First released
Downloads 356,102/month — #7,284 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: taskiq_aio_pika-0.6.0-py3-none-any.whl

Keywords: taskiq, tasks, distributed, async, aio-pika

Development Status :: 3 - AlphaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: System :: NetworkingTyping :: Typed

Tags

rabbitmq task queue brokerasync task distributiontaskiq rabbitmq integrationdelayed message queuedistributed task schedulingaio-pika brokerasync job queue
rabbitmqasync-taskstask-queue

More Networking packages

Further reading