# Python SDK (/sdks/python)



The KubeMQ Python SDK provides async clients for all messaging patterns. It requires Python 3.9+ and communicates with KubeMQ over gRPC.

## Installation [#installation]

```bash
pip install kubemq
```

For optional features:

```bash
pip install kubemq[otel]    # OpenTelemetry integration
```

## Quick connect [#quick-connect]

```python
from kubemq import AsyncPubSubClient

# Connect to a local KubeMQ server on the default gRPC port.
async with AsyncPubSubClient(address="localhost:50000") as client:
    ...
```

## Next: send your first message [#next-send-your-first-message]

With the SDK installed, continue to the [first-message tutorial](/sdks/python/tutorials/first-message) to connect a client and publish and receive your first message.
