Skip to main content

Vantage SDKPy - Overview

The standalone Python SDK for Vantage Compute

vantage-sdkpy is the reusable Python API layer for interacting with Vantage platform resources without depending on the full CLI application.

Quick Start

Install from PyPI:

pip install vantage-sdkpy

Or from source:

git clone https://github.com/vantagecompute/vantage-sdkpy
cd vantage-sdkpy
uv sync
uv run python -c "import vantage_sdk; print('ok')"

Build an Authenticated SDK Context

from vantage_sdk.config import Settings
from vantage_sdk.schemas import SDKContext

settings = Settings(vantage_url="https://app.vantagecompute.ai")

ctx = SDKContext.from_token(
settings=settings,
access_token="<access-token>",
refresh_token="<refresh-token>",
)

Next Steps