A python interface for the RabbitMQ Admin HTTP API
Project description
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rabbitmq-admin-0.2.tar.gz
.
File metadata
- Download URL: rabbitmq-admin-0.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7982cedaf55668ae0abc217b650d0fb6d5b22f2b182079ab2dc6875ae45a9a9 |
|
MD5 | 264f97c93f76e82678a6899c4733e6ea |
|
BLAKE2b-256 | 103a9730b20d6d5a3c497b84039fc3b9eb221e7053831c2619d7c1f916d75b46 |
File details
Details for the file rabbitmq_admin-0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: rabbitmq_admin-0.2-py2.py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05ad8d8ac50242337b9aedd7b68ba4f0682b6087e3caa44fa38eded589e52eba |
|
MD5 | b052a52ec4ea43ad9a5eeeff81a43937 |
|
BLAKE2b-256 | e4d73a1fafc172d3e84530d11a84a82f1677c03b708669e2564ca668966db58e |