/aiokubemq

Asynchronous Python KubeMQ Client. Basically an optimized reimplementation of https://github.com/kubemq-io/kubemq-Python with asyncio and typed methods.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

banner

AIOKubeMQ

ci python versions project version made with python license black

About

Asynchronous Python KubeMQ Client.
Basically an optimized reimplementation of https://github.com/kubemq-io/kubemq-Python with asyncio and typed methods.

Note

This repository is mirrored from Gitlab to Github. Most features like Issues, MRs/PRs etc. are disabled on Github, please use the Gitlab repository for these

Features

  • Modern Pythonic API using asyncio
  • Typed
  • Pretty lowlevel, wrappers can be built as seen fit

How to use

import aiokubemq

async def main():
    async with aiokubemq.KubeMQClient("client-id", "host:50000") as client:
        result = await client.ping()
        print(f"We're connected to host '{result.Host}'")

see the examples folder for more