Skip to main content

Vast.ai SDK - installs the vastai package (CLI + SDK + Serverless)

Project description

vastai-sdk

This package is a thin compatibility wrapper around the vastai package.

All code now lives in the vastai package. This wrapper allows existing code that does import vastai_sdk or from vastai_sdk import ... to continue working without changes.

Installation

pip install vastai-sdk

This will automatically install the vastai package as a dependency.

Usage

# Both of these work identically:
from vastai import VastAI
from vastai_sdk import VastAI

# Submodule imports also work:
from vastai_sdk.serverless.client.client import Serverless

Migration

If you are starting a new project, use vastai directly:

pip install vastai

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

vastai_sdk-1.0.0.tar.gz (1.3 kB view details)

Uploaded Source

Built Distribution

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

vastai_sdk-1.0.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file vastai_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: vastai_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.12.13 Linux/6.17.0-1010-azure

File hashes

Hashes for vastai_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1da260a31b91a19d66ce1c6f8355acfb1757907becb810e4d94e52c38640c30a
MD5 63346d3ba50890c423015d52c68c824e
BLAKE2b-256 4c4d56bc903d155a79b2d51cd5df9a1fdc7c0d804908572f307789461f11ebf2

See more details on using hashes here.

File details

Details for the file vastai_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vastai_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.12.13 Linux/6.17.0-1010-azure

File hashes

Hashes for vastai_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a120d7bd431bf51f55f2fea0b21274c74584893e49b44451f0e4f38597c015d6
MD5 b85488807de84463ac0dd559949ac21c
BLAKE2b-256 695d425f7dcdab773b5e2638592f922b3c8104a5237363664e6824e183946a58

See more details on using hashes here.

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