The KubeMQ SDK for Python enables Python developers to easily work with KubeMQ.

Table of Content

Getting Started


KubeMQ-SDK-Python works with Python 2.7 or newer.


The recommended way to use the SDK for Python in your project is to consume it from pip.

pip install kubemq

Generating Documentation

Sphinx is used for documentation. Use the Makefile to build the docs, like so:

pip install -r requirements-docs.txt
cd docs
make html

(make latex or make linkcheck supported)

Building from source

Once you check out the code from GitHub, you can install the package locally with:

pip install .

You can also install the package with a symlink, so that changes to the source files will be immediately available:

pip install -e .

Running the examples

The examples are standalone projects that showcase the usage of the SDK.

To run the examples, you need to have a running instance of KubeMQ.

The following example available under the /examples dir:

  • - Initiate a Command Query on a channel
  • - Initiate a Command Query
  • - Respond to Command Queries
  • - Send event to KubeMQ on a channel
  • - Send event to KubeMQ
  • - Stream event to KubeMQ
  • - Subscribe to KubeMQ events
Last Updated: 9/20/2019, 1:37:35 PM