Metadata-Version: 2.4
Name: ibeesolutions
Version: 0.0.1
Summary: Official Python SDK for the IBEE Cloud API
Author-email: IBEE Solutions <support@ibee.ai>
License: MIT
Project-URL: Homepage, https://ibee.ai
Project-URL: Documentation, https://docs.ibee.co.in/docs/api-reference
Project-URL: Repository, https://github.com/IBEE/ibeesolutions-python
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.21.2
Requires-Dist: pydantic>=1.9.2
Requires-Dist: typing_extensions>=4.0.0

# IBEE Solutions Python SDK

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

## Installation

```bash
pip install ibeesolutions
```

## Usage

```python
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

```python
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](https://docs.ibee.co.in/docs/api-reference)

## License

MIT
