Skip to content

Installation

Requirements

  • Python 3.10 or higher

Using pip

pip install mezon-sdk

uv is a fast Python package installer.

uv pip install mezon-sdk

Using Poetry

poetry add mezon-sdk

Dependencies

The SDK automatically installs these dependencies:

Package Version Purpose
pydantic >=2.12.3 Data validation and settings
aiohttp >=3.9.0 Async HTTP client
websockets >=12.0 WebSocket protocol
protobuf >=4.25.0 Protocol Buffers serialization
pyjwt >=2.8.0 JWT token handling
aiosqlite >=0.20.0 Async SQLite for message caching

Development Installation

To contribute or develop with the SDK:

# Clone the repository
git clone https://github.com/phuvinh010701/mezon-sdk-python.git
cd mezon-sdk-python

# Install with dev dependencies
uv pip install -e ".[dev]"

Verify Installation

import mezon
print(mezon.__version__)

Next Steps

Once installed, head to the Quick Start guide to build your first bot.