Skip to main content

KubeMQ SDK for Python

Project description

KubeMQ SDK for Python

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

Getting Started

Prerequisites

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

Installing

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:

  • command-query-channel.py - Initiate a Command Query on a channel
  • command-query-initator.py - Initiate a Command Query
  • command-query-responder.py - Respond to Command Queries
  • event-channel.py - Send event to KubeMQ on a channel
  • event-sender.py - Send event to KubeMQ
  • event-sender-stream.py - Stream event to KubeMQ
  • event-subscriber.py - Subscribe to KubeMQ events

Built With

License

This project is licensed under the MIT License - see the LICENSE file for details

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

Kubemq-1.0.2.tar.gz (20.2 kB view hashes)

Uploaded Source

Built Distribution

Kubemq-1.0.2-py3-none-any.whl (45.4 kB view hashes)

Uploaded Python 3

Supported by

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