This directory contains the Python SDK for interacting with the Mesh API.
The Python SDK offers a comprehensive and idiomatic client library, generated from our schema-first protobuf definitions, to facilitate integration with the Mesh trading platform.
CRITICAL: Python development requires a virtual environment:
# From repository root
python -m venv .venv
source .venv/bin/activate
# Install in development mode
pip install -e ".[dev]"Run comprehensive Python tests including pytest, coverage, and linting:
# From repository root - recommended
./dev/test/python.sh
# Or check environment and run tests manually
source .venv/bin/activate
pytest
ruff check . --fix && ruff format .This directory contains generated code. To regenerate from protobuf definitions:
# From repository root
./dev/tool.sh generate --targets=pythonFor complete documentation, including installation, usage examples, and API reference, please visit the main documentation site: