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.dev1.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.dev1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vastai_sdk-1.0.0.dev1.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.3 Linux/6.14.0-1020-oem

File hashes

Hashes for vastai_sdk-1.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 fefb08cbec04dfab247ccd2c8b8b9687340b8462d193d18bd52a392c6590e498
MD5 e24aac3b19a536063ee1e45a9b5d2171
BLAKE2b-256 4d6bcab6e892f60e5ec7bcad5c49a68739ddf1d8773140783175d05bfc7dad56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vastai_sdk-1.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.3 Linux/6.14.0-1020-oem

File hashes

Hashes for vastai_sdk-1.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 91ed2d00ee1f08abbdceabb20f1f50065784c35123dd9a959e729cae73c519b1
MD5 f3877fc856fd1fca1c647e57b6e1e36c
BLAKE2b-256 aa43e5a0f403bcc1bf2076ca31c35fb690fc7615b0ae34bebb191181a6f25c6f

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