Python
Install
pip install antd[rest]
pip install antd[grpc]
pip install antd[all]Connect to the daemon
from antd import AntdClient, AsyncAntdClient, discover_daemon_url
# REST transport by default
client = AntdClient()
# Async REST client
async_client = AsyncAntdClient()
# Explicit gRPC transport
grpc_client = AntdClient(transport="grpc", target="localhost:50051")
# Use discovery helpers if antd chose a non-default port
base_url = discover_daemon_url() or "http://localhost:8082"
discovered_client = AntdClient(base_url=base_url)Store and retrieve data
Type mappings
Autonomi type
Python type
Error handling
Full API reference
Last updated