A Python client for RTMA/Dragonfly
Project description
pyrtma 
RTMA/Dragonfly client written in python with no external dependencies. Based on and compatible with Dragonfly Messaging
Install
From root directory of the repo:
$ pip install .
Usage
Launch MessageManager:
$ python manager.py -a "127.0.0.1"
Create a module:
from pyrtma.client import Client
mod = Client()
mod.Connect('127.0.0.1:7111')
See /examples for pub/sub use case:
In one terminal run:
$ python example.py --pub
And from another run:
$ python example.py --sub
Bench testing utility:
$ python testing/pyrtma_bench.py -h
usage: pyrtma_bench.py [-h] [-ms MSG_SIZE] [-n NUM_MSGS] [-np NUM_PUBLISHERS]
[-ns NUM_SUBSCRIBERS] [-s SERVER]
pyrtma Client bench test utility
optional arguments:
-h, --help show this help message and exit
-ms MSG_SIZE Messge size in bytes.
-n NUM_MSGS Number of messages.
-np NUM_PUBLISHERS Number of concurrent publishers.
-ns NUM_SUBSCRIBERS Number of concurrent subscribers.
-s SERVER RTMA message manager ip address (default:
127.0.0.1:7111)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrtma-1.0.0.tar.gz.
File metadata
- Download URL: pyrtma-1.0.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a59ebefb3da8a736ae2688da8a74aa0dd07813f0d07b923d06d00f7d1bc10360
|
|
| MD5 |
b0e8a3652dd0539e160c7977362cfba9
|
|
| BLAKE2b-256 |
9d0516ebd431f14b5ddb649f78bfe3edddff2cca54f891e69696e2f64297c4f2
|
File details
Details for the file pyrtma-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pyrtma-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bda353ee6b3ec8e87b992cd0ce1487a29f364b5c523b251a98ca03cc9064a9e4
|
|
| MD5 |
292450be744db7bef3b3bdef933333ff
|
|
| BLAKE2b-256 |
5c24dccfcfaf5c97c1db651036d646c0403a5d7b04f11c9c2820c364117988b3
|