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
Release history Release notifications | RSS feed
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 vastai_sdk-1.0.0.dev2.tar.gz.
File metadata
- Download URL: vastai_sdk-1.0.0.dev2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5353526cbb137c86505090cc072d09eb1240d0b7cdab90f10af76d23ed7aa035
|
|
| MD5 |
e3b0b7a15e271d8af6ad9b598872ba66
|
|
| BLAKE2b-256 |
1764570155fa95018346da47a03fe592bedf33979690f56cc1f28e1623ea6242
|
File details
Details for the file vastai_sdk-1.0.0.dev2-py3-none-any.whl.
File metadata
- Download URL: vastai_sdk-1.0.0.dev2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c73b1675577a2e1c905db64dea6b55b9ec9c86ee1e79d47314c88adac5f60079
|
|
| MD5 |
57c02717d5a77fa420c10f60386d9374
|
|
| BLAKE2b-256 |
7440c0b55e3ab86c4551150efe72579e5d8ad57d5bc0694faa561dc178b1554c
|