Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

TCP client module for vertx TCP eventbus bridge

Project Description



This is a TCP eventbus implementation for python clients. The protocol is quite simple. for more information visit !

  • 4bytes int32 message length (big endian encoding)
  • json string
  • built-in keys
  1. type: (String, required) One of “send”, “publish”, “register”, “unregister”.
  2. headers: (Object, optional) Headers with JSON format. Value of string type is supported.
  3. body: (Object, optional) Message content in JSON format.
  4. address: (String, required) Destination address
  5. replyAddress: (String, optional) Address for replying.


class Client():


def Handler(self,message):
if message != None:

eb=Eventbus.Eventbus(Client(),’localhost’, 7000)

#jsonObject -body

body={‘msg’:’add 4 to 0’,}


do=DeliveryOption.DeliveryOption(); do.addHeader(‘type’,’text’) do.addHeader(‘size’,’small’) do.addReplyAddress(‘add’) do.setTimeInterval(5)

#register handler




#close after 5 seconds



Simple example, TimeKeeper

Release History

This version
History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(25.6 kB) Copy SHA256 Hash SHA256
Source None Aug 5, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers