Skip to main content
https://travis-ci.org/rh-messaging/cli-proton-python.svg?branch=master https://badge.fury.io/py/cli-proton-python.svg

Proton Python clients is a collection of reactive messaging test clients built on python-qpid-proton AMQP1.0 based messaging library. cli-proton-python is a part of Unified Messaging Test Clients that offers equivalent functionality when using different programing languages or APIs.

current related projects:

Installation

cli-proton-python requires Python v2.6+ to run.

$ pip install cli-proton-python

Using

Using the command line clients (please refer to –help to discover the available options)

$ cli-proton-python-sender --broker-url "username:password@localhost:5672/queue_test" --count 1 --msg-content "text message" --log-msgs dict
$ cli-proton-python-receiver --broker-url "username:password@localhost:5672/queue_test" --count 1 --log-msgs dict

Using in script

import proton
from cli_proton_python import sender

parser = sender.options.SenderOptions()

opts, _ = parser.parse_args()
opts.broker_url = 'username:password@localhost:5672/examples'
opts.count = 1
opts.msg_content = 'text message'
opts.log_msgs = 'dict'

container = proton.reactor.Container(sender.Send(opts))
container.run()

Documentation

Documentation Status

Documentation may be found on readthedocs.io: read the docummentation

License

https://img.shields.io/badge/License-Apache%202.0-blue.svg

Release files for cli-proton-python 1.0.6

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

Built distribution (wheel)

Table of built distributions (wheels) for cli-proton-python 1.0.6
File Interpreter ABI Platform
cli_proton_python-1.0.6-py2-none-any.whl Python 2 none any Details

Release files / cli_proton_python-1.0.6-py2-none-any.whl

Download URL cli_proton_python-1.0.6-py2-none-any.whl
Size 28.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
113a9d18290d7ca4bcc4308fa09221084f67131b4a7791fdddf309d613aad727
BLAKE2b-256 checksum
How to use checksums
a83c9b3891bf5d21c18ff160ea3c6fde08304ac38cdb77aa1f95ef170aacc0d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

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