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.21.tar.gz (65.0 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.21-py3-none-any.whl (103.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vantage_sdkpy-0.1.21.tar.gz
  • Upload date:
  • Size: 65.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for vantage_sdkpy-0.1.21.tar.gz
Algorithm Hash digest
SHA256 1ed3c6c8651fdb3273bb9ba1f61de51051ef0d54b9f72bff00da1858f456a66a
MD5 0a9ef40d1a7d182a12ea337c0b7f5dd8
BLAKE2b-256 687cfa621277911fe6f1ebf38f6fe6d88d8eaa0f92a11612090fd22e279b1d8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vantage_sdkpy-0.1.21.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.21-py3-none-any.whl.

File metadata

  • Download URL: vantage_sdkpy-0.1.21-py3-none-any.whl
  • Upload date:
  • Size: 103.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for vantage_sdkpy-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 52d427adf9e5d0673808db64bde932315b69621664b5c1a0faeafbad23e8c96c
MD5 b919a76501162cacdb432805bcd96557
BLAKE2b-256 d9e5565fd72cb5386fb962d07c98410f6c4a675ada6132f2fce09d792e2c6d6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vantage_sdkpy-0.1.21-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