{"id":21786,"library":"pyrabbit","title":"pyrabbit","description":"A Pythonic interface to the RabbitMQ Management HTTP API. Version 1.1.0, low release cadence (last release 2013).","status":"maintenance","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/bkjones/pyrabbit","tags":["rabbitmq","management-api","http","python"],"install":[{"cmd":"pip install pyrabbit","lang":"bash","label":"Latest stable"}],"dependencies":[{"reason":"HTTP client for API calls","package":"requests","optional":false}],"imports":[{"note":"Client is in the api module, not top-level.","wrong":"from pyrabbit import Client","symbol":"Client","correct":"from pyrabbit.api import Client"}],"quickstart":{"code":"from pyrabbit.api import Client\n\nclient = Client('http://localhost:15672', 'guest', 'guest')\nalive = client.is_alive()\nprint(alive)","lang":"python","description":"Connect to RabbitMQ Management API and check if server is alive."},"warnings":[{"fix":"Switch to a library with active maintenance and async support.","message":"pyrabbit is no longer actively maintained. Last release in 2013. Consider using aio-pika or pika with HTTP client for management API.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"from pyrabbit.api import Client","message":"Client object is not instantiated correctly: use pyrabbit.api.Client, not pyrabbit.Client.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Use http://host:15672 as the base URL.","message":"Default port for RabbitMQ Management API is 15672, not 5672 (AMQP port).","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use 'from pyrabbit.api import Client' instead of 'from pyrabbit import Client'.","cause":"Client is in the api submodule, not in __init__.py.","error":"ImportError: cannot import name 'Client' from 'pyrabbit'"},{"fix":"Check available methods: get_nodes(), get_queues(), etc. Use client.is_alive() only if available; otherwise use client.aliveness_test('/').","cause":"Method name might be incorrect in older versions or typo.","error":"pyrabbit.api.Client object has no attribute 'is_alive'"},{"fix":"Enable management plugin: rabbitmq-plugins enable rabbitmq_management. Use port 15672.","cause":"Wrong port (using 5672 instead of 15672) or RabbitMQ Management plugin not enabled.","error":"requests.exceptions.ConnectionError: HTTPConnectionPool: Failed to establish a new connection: [Errno 61] Connection refused"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}