pyrabbit2
A Pythonic interface to the RabbitMQ Management HTTP API
What it is and what it does
Pyrabbit2 is a Python wrapper around RabbitMQ's HTTP Management API, designed to let you query and manipulate RabbitMQ resources (queues, exchanges, bindings, connections) without writing HTTP boilerplate. It handles authentication, request formatting, and JSON parsing so you can work with RabbitMQ state through simple Python method calls.
The package depends only on requests and installs as a pure-Python wheel. It was first released on 2017-07-22 and last updated on 2019-01-24. The repository remains unarchived with a last commit on 2024-03-23, making it a dormant project—functional for existing use cases but unlikely to receive bug fixes or support for newer RabbitMQ features.
Use it for:
- Monitor queue depths, connection counts, and message rates from Python without direct AMQP connections.
- Automate RabbitMQ administration tasks like creating queues, exchanges, and bindings programmatically.
- Build monitoring dashboards or alerting systems that query RabbitMQ state via its HTTP API.
- Integrate RabbitMQ management into deployment or orchestration scripts.
- Debug AMQP issues by inspecting broker state and message routing configuration.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Pyrabbit2 provides a Python interface to the RabbitMQ HTTP Management API, eliminating the need to write raw HTTP requests with authentication and JSON parsing.
Yes, if you need a lightweight Python client for RabbitMQ's HTTP Management API and are comfortable with a dormant package. The code is stable (no known vulnerabilities, low install friction, MIT license), but expect no updates—verify that it works with your RabbitMQ version before committing to it in production.
Install
pyrabbit2 on PyPI
pip
pip install pyrabbit2uv
uv add pyrabbit2poetry
poetry add pyrabbit2Installing pyrabbit2
Before you install
Installation is straightforward with low friction—a pure-Python wheel with only requests as a runtime dependency. However, the package is dormant: the latest release was in January 2019, and no updates have shipped since then despite the repository remaining unarchived.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute pyrabbit2 freely in commercial and private projects without restriction.
Quickstart
pip install pyrabbit2
from pyrabbit2.api import Client
client = Client('localhost', 'guest', 'guest')
queues = client.get_queues()
Requires a running RabbitMQ instance with the HTTP management plugin enabled.
Verify before relying
- Whether the package works with modern RabbitMQ versions and current Python 3.x releases beyond 3.6.
- Whether this fork is actively maintained or if the original pyrabbit project is a better choice.
- Current test coverage and whether all documented APIs function as expected.
- Default port and authentication credentials for the RabbitMQ management API endpoint.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | dormant — 2,759 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 130,170/month — #11,651 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyrabbit2-1.0.7-py3-none-any.whl
Keywords: python, http, amqp, rabbit, rabbitmq, management
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
AMQPStormA thread-safe Python 3 client library for…
permissive · top 15,000 on PyPI
pikaPika is a pure-Python AMQP 0-9-1 client library…
permissive · top 5,000 on PyPI
amqpPure-Python AMQP 0.9.1 client library for…
permissive · top 1,000 on PyPI
aio-pikaaio-pika is an asyncio-based wrapper around…
permissive · top 5,000 on PyPI
kombuKombu is a messaging library that provides a…
permissive · top 1,000 on PyPI
pamqppamqp encodes and decodes AMQP 0-9-1 protocol…
permissive · top 5,000 on PyPI
pytest-rabbitmqA pytest plugin that provides fixtures to start…
copyleft · top 15,000 on PyPI
aiormqaiormq is a pure Python AMQP 0.9.1 client…
permissive · top 5,000 on PyPI
stomp.pyA Python client library for connecting to STOMP…
permissive · top 5,000 on PyPI