Python SDK
The Python SDK (makaio-bus) provides a lightweight client for participating in the Makaio bus
protocol over WebSocket. It is not published yet; install it from the framework workspace while
developing locally.
Installation
Section titled “Installation”From the standalone framework repository root, or from framework/ in the monorepo:
python -m pip install -e sdks/pythonFeatures
Section titled “Features”- WebSocket transport lifecycle management
- Wire envelope handling and request correlation
- Typed subject emission, request handling, and subscription
- Async/await API built on
asyncio
Quick Start
Section titled “Quick Start”import asyncio
from makaio import BusClient
async def main() -> None: client = BusClient("ws://localhost:6252/bus") await client.connect() await client.emit("my.subject", {"key": "value"}) await client.close()
asyncio.run(main())For full API details, see the SDK source.