Skip to main content

A python interface for the RabbitMQ Admin HTTP API

Project description

https://travis-ci.org/ambitioninc/rabbitmq-admin.svg?branch=master https://coveralls.io/repos/ambitioninc/rabbitmq-admin/badge.png?branch=master

rabbitmq-admin

This project is a python wrapper around the RabbitMQ Management HTTP API.

Example

>>> from rabbitmq_admin import AdminAPI
>>> api = AdminAPI(url='http://192.168.99.100:15672', auth=('guest', 'guest'))
>>> api.create_vhost('second_vhost')
>>> api.create_user('second_user', 'password')
>>> api.create_user_permission('second_user', 'second_vhost')
>>> api.list_permission()
[{'configure': '.*',
  'read': '.*',
  'user': 'guest',
  'vhost': '/',
  'write': '.*'},
 {'configure': '.*',
  'read': '.*',
  'user': 'second_user',
  'vhost': 'second_vhost',
  'write': '.*'}]

Unsupported Management API endpoints

This is a list of unsupported API endpoints. Please do not make issues for these, but pull requests implementing them are welcome.

  • /api/exchanges/vhost/name/bindings/source [GET]
  • /api/exchanges/vhost/name/bindings/destination [GET]
  • /api/exchanges/vhost/name/publish [POST]
  • /api/queues/vhost/name/bindings [GET]
  • /api/queues/vhost/name/contents [DELETE]
  • /api/queues/vhost/name/actions [POST]
  • /api/queues/vhost/name/get [POST]
  • /api/bindings/vhost/e/exchange/q/queue [GET, POST]
  • /api/bindings/vhost/e/exchange/q/queue/props [GET, DELETE]
  • /api/bindings/vhost/e/source/e/destination [GET, POST]
  • /api/bindings/vhost/e/source/e/destination/props [GET, DELETE]
  • /api/parameters [GET]
  • /api/parameters/component [GET]
  • /api/parameters/component/vhost [GET]
  • /api/parameters/component/vhost/name [GET, PUT, DELETE]

Installation

To install the latest release, type:

pip install rabbitmq-admin

To install the latest code directly from source, type:

pip install git+git://github.com/ambitioninc/rabbitmq-admin.git

Documentation

Full documentation is available at http://rabbitmq-admin.readthedocs.org

License

MIT License (see LICENSE)

Project details


Release history Release notifications

This version
History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rabbitmq_admin-0.2-py2.py3-none-any.whl (12.0 kB) Copy SHA256 hash SHA256 Wheel 3.5 Oct 16, 2015
rabbitmq-admin-0.2.tar.gz (7.6 kB) Copy SHA256 hash SHA256 Source None Oct 16, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page