Requirements
- Python 3.10+
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install the Datagate Python SDK
pip install datagate
from datagate import DatagateClient
# With API key (recommended)
client = DatagateClient(api_key="dg_live_...")
# With JWT access token
client = DatagateClient(access_token="eyJ...")
# With custom base URL (for local development)
client = DatagateClient(
api_key="dg_live_...",
base_url="http://localhost:8080",
)
async with DatagateClient(api_key="dg_live_...") as client:
datasets = await client.list_datasets()
# client.close() is called automatically