$npx skillfedfor your agent

pika

Pika Python AMQP Client Library

Worth itPyPI LibrariesReleased Aug 202613.8M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pika-1.4.4-py3-none-any.whl
v1.4.4 · released 2026-08-06 · Python >=3.7

Yes. Pika is a mature, actively maintained library with no security vulnerabilities, zero runtime dependencies, and broad Python version support. It is the standard choice for RabbitMQ integration in Python and suitable for both simple and complex messaging patterns. Install it if you need to communicate with RabbitMQ.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running RabbitMQ server accessible at the connection parameters.
  • Installation is straightforward with no runtime dependencies and a pure-Python wheel.
  • The project is actively maintained with a recent release and has been in production use since 2010.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is a permissive license that allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.

last release 2026-08-06 (8 days) · last repo commit 2026-08-14 · 3,876 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,782,804 downloads/mo, #1,263 on PyPI

Verify before relying

import pika

connection = pika.BlockingConnection()
channel = connection.channel()
channel.basic_publish(exchange='test', routing_key='test', body=b'Test message.')
connection.close()
  • Performance characteristics and throughput limits under load conditions.
  • Thread-safety guarantees and recommended patterns for multi-threaded applications.
  • Compatibility details with specific RabbitMQ server versions beyond AMQP 0-9-1 protocol support.
  • Default connection host and port when not explicitly specified.
Same gist for agents: .md · .json

What it is and what it does

Pika is a pure-Python implementation of the AMQP 0-9-1 protocol with RabbitMQ extensions, allowing Python applications to publish and consume messages from RabbitMQ brokers. It supports Python 3.7 and later on CPython and PyPy, with no external runtime dependencies.

The library provides multiple connection adapters to suit different application patterns: BlockingConnection for synchronous code, SelectConnection for asynchronous I/O without external frameworks, and specialized adapters for AsyncIO, Gevent, Tornado, and Twisted. It handles connection recovery, multi-host failover, and thread-safe callback mechanisms for delegating work across threads while maintaining the single-threaded constraint of individual connection instances.

Use it for

  • Publish messages to RabbitMQ queues from Python services using BlockingConnection for simple synchronous workflows.
  • Consume and process messages from RabbitMQ with automatic acknowledgment handling and error recovery.
  • Build asynchronous message-driven applications using AsyncIO or Tornado adapters for high-concurrency scenarios.
  • Implement fault-tolerant RabbitMQ clients with multi-host connection parameters and automatic retry logic.
  • Delegate message processing to background threads while maintaining AMQP heartbeat and I/O servicing in the main thread.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Pika is a mature, actively maintained library with no security vulnerabilities, zero runtime dependencies, and broad Python version support. It is the standard choice for RabbitMQ integration in Python and suitable for both simple and complex messaging patterns. Install it if you need to communicate with RabbitMQ.

Install

pika on PyPI

Before you install

Installation is straightforward with no runtime dependencies and a pure-Python wheel. The project is actively maintained with a recent release and has been in production use since 2010.

Requires a running RabbitMQ server accessible at the connection parameters.

License in practice

BSD-3-Clause is a permissive license that allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.

Quickstart

import pika

connection = pika.BlockingConnection()
channel = connection.channel()
channel.basic_publish(exchange='test', routing_key='test', body=b'Test message.')
connection.close()

Verify before relying

  • Performance characteristics and throughput limits under load conditions.
  • Thread-safety guarantees and recommended patterns for multi-threaded applications.
  • Compatibility details with specific RabbitMQ server versions beyond AMQP 0-9-1 protocol support.
  • Default connection host and port when not explicitly specified.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 8 days since the last release
Last repo commit
First released
Downloads13,782,804 / month, #1,263 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: JythonProgramming Language :: Python :: Implementation :: PyPyTopic :: CommunicationsTopic :: InternetTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Networking

Evidence: pika-1.4.4-py3-none-any.whl

Tags

Capabilities
rabbitmq client pythonamqp 0-9-1 protocolmessage queue publisher consumerrabbitmq python libraryamqp client libraryblocking connection adapterasynchronous message broker
Topics
message-queuerabbitmqamqp

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “blocking connection adapter”

  • pikaPika is a pure-Python AMQP 0-9-1 client library for RabbitMQ that…
  • ydb-dbapiA Python DBAPI driver for YDB that provides sync and async database…
  • crochetCrochet lets you call Twisted asynchronous code from blocking Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also aio-pika · pamqp · AMQPStorm · amqp · aiormq · pyrabbit2 · pika-stubs · opentelemetry-instrumentation-pika · types-pika · kombu