skillfed

pyrabbit2

A Pythonic interface to the RabbitMQ Management HTTP API

pyrabbit2 v1.0.7 130.2K downloads/30d#11,651 on PyPI56
Permissive license MIT DORMANT released

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 pyrabbit2

uv

uv add pyrabbit2

poetry

poetry add pyrabbit2

Installing 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

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules

Tags

rabbitmq management api clientrabbitmq http api pythonrabbitmq queue monitoringrabbitmq administration libraryamqp management interfacerabbitmq rest clientrabbitmq broker control
rabbitmqhttp-clientdormant

More Python Modules packages