# pika/pika

Pure Python RabbitMQ/AMQP 0-9-1 client library

Repository: https://github.com/pika/pika
Canonical: https://ross.abutalabs.com/products/pika
Homepage: https://pika.readthedocs.io
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: rabbitmq, python, client, amqp0-9-1
Last push: 2026-08-21T19:44:08+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 96, longevity 100
- inputs: {"age_days": 6162, "days_push": 12, "days_rel": 27, "gap_med": 15, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3878, forks 855 (observed 2026-08-28T04:08:27.955408+00:00)

## What it is
Pika is a pure-Python client library implementing the AMQP 0-9-1 protocol, including RabbitMQ extensions. It provides multiple connection adapters (blocking, async, callback-based) for publishing and consuming messages from RabbitMQ brokers.

## Use cases
- publish messages to a RabbitMQ queue from Python
- consume messages from RabbitMQ in a Python worker
- connect Python apps to an AMQP 0-9-1 broker
- build a task queue producer/consumer with RabbitMQ
- integrate RabbitMQ messaging into a Django or Flask backend
- use RabbitMQ extensions from Python without C dependencies

## When to choose
- you need a pure-Python AMQP client with no C extension dependencies
- you are using RabbitMQ as your message broker
- you want flexible connection adapters (blocking, async, callback)
- you need PyPy or broad Python version support

## When to avoid
- you need AMQP 1.0 protocol support
- you want a high-level task queue abstraction like Celery
- you use a different broker like Kafka or Redis Streams

## Facets
- artifact type: library
- maturity: stable
- function: message-queue, http-client
- domain: backend, developer-tools
- platform: python, cross-platform
- tags: rabbitmq, amqp, message-broker, pub-sub, messaging

## Member repositories
- pika/pika (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:27.955408+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:44.694098+00:00, confidence not recorded.
  - readme: https://github.com/pika/pika (fetched 2026-08-28T04:08:27.955408+00:00, sha ca6541b84e72)
  - registry_pypi: https://pypi.org/pypi/pika/json (fetched 2026-08-29T09:20:17.916087+00:00, sha 968a546fc86e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
