Get RabbitMQ messages from a specific queue to a file.
Project description
rabbitgetapi - Get RabbitMQ queue messages via API
Description
To get messages from a queue or anything else (coming soon) available in the Rabbitmq API.
Requirements
Python 3
Environment
linux
Install
pip install rabbitgetapi
Usage
❯ rabbitgetapi getqueue -h usage: rabbitgetapi getqueue [-h] [-f CONFIGFILE] [--url URL] [-v VHOST] [--user USER] [--password PASSWORD] [--outputfile OUTPUTFILE] [--separator SEPARATOR] [--mode MODE] [-q QUEUE] [-c COUNT] optional arguments: -h, --help show this help message and exit -f CONFIGFILE, --configfile CONFIGFILE Configuration file (full or relative path) --url URL RabbitMQ server url without slash, default = http://127.0.0.1:15672. -v VHOST, --vhost VHOST RabbitMQ virtual server, default = '/'. --user USER, -u USER RabbitMQ user, default = guest. --password PASSWORD, -p PASSWORD RabbitMQ password, default = guest. --outputfile OUTPUTFILE, -o OUTPUTFILE file for output messages. --separator SEPARATOR, -s SEPARATOR Character for line separator. --mode MODE, -m MODE full = whole message, payload = just payload -q QUEUE, --queue QUEUE The queue from where the messages will be obtained. -c COUNT, --count COUNT controls the maximum number of messages to get. Default=10.
- Authors:
Sidon Duarte,
- Version:
0.0.1 at 2021/09/12
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
rabbitgetapi-0.0.1.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file rabbitgetapi-0.0.1.tar.gz
.
File metadata
- Download URL: rabbitgetapi-0.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb3ff1155235850b06cf4d839d12f7dbf3d9f55d436e44bc1060f3cfee449f34 |
|
MD5 | 9f1fc4178753803d31a8fbae0511c4e0 |
|
BLAKE2b-256 | 0c4e49b1445b3f5db70010000f30f50fb221e5991daced874fdae01ca21277a6 |
File details
Details for the file rabbitgetapi-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: rabbitgetapi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ec8282fe22b41803c2a9a5a2dd79113b12462b8e391dd0b7276075f6fe07888 |
|
MD5 | f7f727c232765fc4d8b8a6a1c9ec8aad |
|
BLAKE2b-256 | a249c389b344da409a07e9ce75015b15b17ce163a9b92e3a2be7a338f6245f0d |