Skip to main content

A Python client for RTMA/Dragonfly

Project description

pyrtma Python package

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrtma-1.0.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrtma-1.0.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

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

Hashes for pyrtma-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a59ebefb3da8a736ae2688da8a74aa0dd07813f0d07b923d06d00f7d1bc10360
MD5 b0e8a3652dd0539e160c7977362cfba9
BLAKE2b-256 9d0516ebd431f14b5ddb649f78bfe3edddff2cca54f891e69696e2f64297c4f2

See more details on using hashes here.

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

Hashes for pyrtma-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bda353ee6b3ec8e87b992cd0ce1487a29f364b5c523b251a98ca03cc9064a9e4
MD5 292450be744db7bef3b3bdef933333ff
BLAKE2b-256 5c24dccfcfaf5c97c1db651036d646c0403a5d7b04f11c9c2820c364117988b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page