Skip to main content

A Python wrapper for the Hyperstack API

Project description

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:

HYPERSTACK_API_KEY=<your API Key>
import hyperstack

Create an environment if you don't have one

client.create_environment('your-environment-name')  

Set your environment

client.set_environment('your-environment-name')  

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="your-key", 
        user_data="", 
        create_bootable_volume=False, 
        assign_floating_ip=False, 
        count=1)

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

hyperstack-0.2.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

hyperstack-0.2.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file hyperstack-0.2.1.tar.gz.

File metadata

  • Download URL: hyperstack-0.2.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for hyperstack-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1b38081778cb89d829e203a3c0c79e4035d49a8624299b82329c1422b4b24428
MD5 48fec9a1bbc04d9accc68956a45d8970
BLAKE2b-256 0605ee33f595f25b79ffaf57696f1fa1b95deb5ff3908913cc1c0ce9a808fd55

See more details on using hashes here.

File details

Details for the file hyperstack-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: hyperstack-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for hyperstack-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 423d7d4e3b95a436b5c26abe89bd3d02bcce20654b7d0dfb39e68609a9ab1a72
MD5 93113546c578da336d68bb4fb67da869
BLAKE2b-256 a34cb32988cc4dd7c5e36c6321f5fa362d11b1b68c086b18a2c275131e3dda61

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page