Python SDK for interacting with the Vantage platform.
Project description
Install from PyPI
pip install vantage-sdkpy
Install from Source
git clone https://github.com/vantagecompute/vantage-sdkpy.git
cd vantage-sdkpy
uv sync
Example Usage
import asyncio
from types import SimpleNamespace
from vantage_sdk import cluster_sdk
from vantage_sdk.config import Settings
from vantage_sdk.schemas import SDKContext
async def main() -> None:
ctx = SDKContext.from_token(
settings=Settings(vantage_url="https://app.vantagecompute.ai"),
access_token="<access-token>",
refresh_token="<refresh-token>",
)
typer_ctx = SimpleNamespace(obj=ctx)
clusters = await cluster_sdk.list(typer_ctx)
print([cluster.name for cluster in clusters])
asyncio.run(main())
Design Goals
- No terminal rendering responsibilities.
- No filesystem-backed profile or token management.
- Explicit in-memory authentication and settings passed in by the caller.
- Reusable by
vantage-cliand by external Python consumers.
Documentation
Visit the documentation site: vantagecompute.github.io/vantage-sdkpy
- Installation Guide: Set up the SDK locally or from source.
- Usage Guide: Build authenticated SDK contexts and query resources.
- API Reference: Auto-generated Python module reference.
- Architecture: Understand the standalone SDK boundary.
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: james@vantagecompute.ai
License
Copyright © 2025 Vantage Compute Corporation
This project is licensed under the GPLv3 License.
Built by Vantage Compute
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vantage_sdkpy-0.1.9.tar.gz.
File metadata
- Download URL: vantage_sdkpy-0.1.9.tar.gz
- Upload date:
- Size: 57.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de95d88d0f58c7bb552d1e2fbdc21f890d6686799a561ddf2f8ff6756b4e7d42
|
|
| MD5 |
6e72c8d61a3b2f5576856a3176f116ae
|
|
| BLAKE2b-256 |
b792cfd276aa57151e64e514d5c7feecd271159c7de589da9dae51d8210eede5
|
Provenance
The following attestation bundles were made for vantage_sdkpy-0.1.9.tar.gz:
Publisher:
publish-pypi.yml on vantagecompute/vantage-sdkpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vantage_sdkpy-0.1.9.tar.gz -
Subject digest:
de95d88d0f58c7bb552d1e2fbdc21f890d6686799a561ddf2f8ff6756b4e7d42 - Sigstore transparency entry: 1803856583
- Sigstore integration time:
-
Permalink:
vantagecompute/vantage-sdkpy@153a72be4a5e688113dfaf6db885ca5a2451a94d -
Branch / Tag:
refs/tags/v0.1.9 - Owner: https://github.com/vantagecompute
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@153a72be4a5e688113dfaf6db885ca5a2451a94d -
Trigger Event:
push
-
Statement type:
File details
Details for the file vantage_sdkpy-0.1.9-py3-none-any.whl.
File metadata
- Download URL: vantage_sdkpy-0.1.9-py3-none-any.whl
- Upload date:
- Size: 93.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b61f4aa1acd1c1f632e2520f6609b584d522e9caf0aba56656915e36a5feea1
|
|
| MD5 |
3f2b134cd669e7d1ab0016f07233f33f
|
|
| BLAKE2b-256 |
e81dca759e80175eaa851d1b2b6f75e8932101a054aed145467015a07277a01e
|
Provenance
The following attestation bundles were made for vantage_sdkpy-0.1.9-py3-none-any.whl:
Publisher:
publish-pypi.yml on vantagecompute/vantage-sdkpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vantage_sdkpy-0.1.9-py3-none-any.whl -
Subject digest:
8b61f4aa1acd1c1f632e2520f6609b584d522e9caf0aba56656915e36a5feea1 - Sigstore transparency entry: 1803856676
- Sigstore integration time:
-
Permalink:
vantagecompute/vantage-sdkpy@153a72be4a5e688113dfaf6db885ca5a2451a94d -
Branch / Tag:
refs/tags/v0.1.9 - Owner: https://github.com/vantagecompute
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@153a72be4a5e688113dfaf6db885ca5a2451a94d -
Trigger Event:
push
-
Statement type: