Hyperstack Python Client
This is a Python client for interacting with the Hyperstack API
Installation
pip install hyperstack```
### Usage
First ensure you have your API key set in an environment variable:
```bash
HYPERSTACK_API_KEY=<your API Key>```
```python
from hyperstack import Hyperstack
client = Hyperstack()
Create an environment if you don't have one
client.create_environment('development')
Set your environment
client.set_environment('development')
Create a VM
client.create_vm(
name='first vm',
image_name="Ubuntu Server 22.04 LTS R535 CUDA 12.2",
flavor_name='n2-RTX-A5000x1',
key_name="development-key",
user_data="",
create_bootable_volume=False,
assign_floating_ip=False,
count=1)
Release files for hyperstack-python 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hyperstack_python-0.1.0.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hyperstack_python-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / hyperstack_python-0.1.0.tar.gz
| Download URL | hyperstack_python-0.1.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0bb15bce63dcacbb4346a0131f141ce824183757ece76dd5e623f8a8b6d5b4a
|
|
BLAKE2b-256 checksum How to use checksums |
99856c799c062d59b7e39910b3a28aa205ac40080269455df717023fb39c4c7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0
|
Release files / hyperstack_python-0.1.0-py3-none-any.whl
| Download URL | hyperstack_python-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d33140f377c6e844a774de36154c66ee5f12805cf46d54f86d02175318d832cc
|
|
BLAKE2b-256 checksum How to use checksums |
df7414008112e2aa6168d8dacd80470db2e75ed49bba857910c8a923b9bbad51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0
|