Skip to main content

An asynchronous TCP eventbus Python client

Project description


An asynchronous TCP eventbus Python client other than the thread-based official client


  1. Use the event loop from Python 3 for high performance
  2. No dependency
  3. Provide a command line interface


pip install vertx-python-client


Use as a standard Python library

from vertx import EventBus, Payload

eb = EventBus(host='localhost', port=1234)
eb.add_listen_func(address="api.versions", action=lambda x: print(x))

# Send the JSON binary
reg = Payload(type="register", address="api.versions")
pub = Payload(type="publish", address="api.versions.get", replyAddress="api.versions")

# Quit the connection

Instead use from the command line interface

python -m vertx localhost:1234
> {"type": "register", "address": "api.versions"}
> {"type": "publish", "address": "api.versions.get", "replyAddress": "api.versions"}
> exit


pytest --log-cli-level=DEBUG tests

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

vertx-python-client-0.4.2.tar.gz (4.0 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page