Skip to main content

Official Python SDK for the IBEE Cloud API

Project description

IBEE Solutions Python SDK

Official Python SDK for the IBEE Cloud API. Manage cloud VMs, GPU VMs, object storage, and secrets programmatically.

Installation

pip install ibeesolutions

Usage

from ibeesolutions import IbeeSolutions

client = IbeeSolutions(token="ibee_live_xxxxxxxxxxxx")

# List cloud VMs
vms = client.cloud_vms.list(workspace_id="907479")

# Create a cloud VM
vm = client.cloud_vms.create(
    workspace_id="907479",
    name="web-server",
    os_distro="ubuntu",
    os_type="22.04",
    cpu=2,
    ram_mb=4096,
)

# List GPU VMs
gpu_vms = client.gpu_vms.list(workspace_id="907479")

# Manage secrets
stores = client.secret_store.list_secret_stores(workspace_id="907479")

# List object storage buckets
buckets = client.object_storage.list_buckets(workspace_id="907479")

Async usage

import asyncio
from ibeesolutions import AsyncIbeeSolutions

async def main():
    client = AsyncIbeeSolutions(token="ibee_live_xxxxxxxxxxxx")
    vms = await client.cloud_vms.list(workspace_id="907479")
    print(vms)

asyncio.run(main())

Authentication

Generate a platform API token from the IBEE portal under Settings > Platform API Tokens. Use the token with the token parameter when creating the client.

Documentation

Full API reference: https://docs.ibee.co.in/docs/api-reference

License

MIT

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

ibeesolutions-0.0.1.tar.gz (55.3 kB view details)

Uploaded Source

Built Distribution

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

ibeesolutions-0.0.1-py3-none-any.whl (85.3 kB view details)

Uploaded Python 3

File details

Details for the file ibeesolutions-0.0.1.tar.gz.

File metadata

  • Download URL: ibeesolutions-0.0.1.tar.gz
  • Upload date:
  • Size: 55.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for ibeesolutions-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0e800d4b438b84052038e4fb160b60d9e9fb3ceb82b621ddc847419178720a8b
MD5 e33df8771d84035e71df5ccb00db82d9
BLAKE2b-256 581855338617efb13a9e77379d0f5baae04d3f16df78a7c58b59e598b3ced186

See more details on using hashes here.

File details

Details for the file ibeesolutions-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ibeesolutions-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 85.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for ibeesolutions-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20d3a3e0898538be160a7f9933c1cf00b367a24f8cec3250df280765e494b326
MD5 989a23bd8c1546696f03c074c9b88472
BLAKE2b-256 35a73260d7f7c19b014020e582a3995fd3416b93bf44be9f7b3ae13d64e42de6

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