Python SDK
Pydantic-typed control-plane client with sync and async variants. Buyer support is an optional extra.
Install
pip install ax402-sdk
pip install "ax402-sdk[buyer]" # optional buyer depsControl plane
from ax402_sdk import Ax402Client
client = Ax402Client.from_env()
apis = client.list_apis()Buyer
from ax402_sdk.buyer import BuyerClient
result = BuyerClient.from_env().get("https://myapi.localhost:8090/v1/foo")
print(result.status_code, result.settlement)Tests
cd ax402-sdk/packages/python && pip install -e ".[dev]" && pytest