Skip to main content
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)

Release files for rabbitmq-admin 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rabbitmq-admin 0.2
File Size Uploaded
rabbitmq-admin-0.2.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rabbitmq-admin 0.2
File Interpreter ABI Platform
rabbitmq_admin-0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 19.6 kB

Release files / rabbitmq-admin-0.2.tar.gz

Download URL rabbitmq-admin-0.2.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a7982cedaf55668ae0abc217b650d0fb6d5b22f2b182079ab2dc6875ae45a9a9
BLAKE2b-256 checksum
How to use checksums
103a9730b20d6d5a3c497b84039fc3b9eb221e7053831c2619d7c1f916d75b46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rabbitmq_admin-0.2-py2.py3-none-any.whl

Download URL rabbitmq_admin-0.2-py2.py3-none-any.whl
Size 12.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
05ad8d8ac50242337b9aedd7b68ba4f0682b6087e3caa44fa38eded589e52eba
BLAKE2b-256 checksum
How to use checksums
e4d73a1fafc172d3e84530d11a84a82f1677c03b708669e2564ca668966db58e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page