Skip to main content

Python SDK for interacting with the Vantage platform.

Project description

Vantage SDKPY

A standalone Python SDK for interacting with Vantage platform resources.

License Python PyPI

GitHub Issues Pull Requests GitHub Contributors


Quick Start

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-cli and by external Python consumers.

Documentation

Visit the documentation site: vantagecompute.github.io/vantage-sdkpy

Support

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

vantage_sdkpy-0.1.7.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vantage_sdkpy-0.1.7-py3-none-any.whl (93.3 kB view details)

Uploaded Python 3

File details

Details for the file vantage_sdkpy-0.1.7.tar.gz.

File metadata

  • Download URL: vantage_sdkpy-0.1.7.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

Hashes for vantage_sdkpy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8b8852176225148b5c8b182a839ea6b4598ea44858abac828463185da8132626
MD5 d849af2f878db9597ad27d266fe13fbb
BLAKE2b-256 7e7bfd34c869079fb1fe49ad1ed52d91c0ab55f8f7070bdfced8abb5b5921391

See more details on using hashes here.

Provenance

The following attestation bundles were made for vantage_sdkpy-0.1.7.tar.gz:

Publisher: publish-pypi.yml on vantagecompute/vantage-sdkpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vantage_sdkpy-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: vantage_sdkpy-0.1.7-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

Hashes for vantage_sdkpy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8f26533231ac4ca3c6e42dc55c1d43232c71d6526ded0dc5fdaf6bb95c7a05aa
MD5 992e187f7423f1045849b9fe4564a84d
BLAKE2b-256 0e698077639dcd908c2feff46947ddb7d0fa170ccec095a8c8126455c51f42fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for vantage_sdkpy-0.1.7-py3-none-any.whl:

Publisher: publish-pypi.yml on vantagecompute/vantage-sdkpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page