Sandbox


Follow the steps below to easily create a sandbox.

Prerequisites

Create an API Key

Create an API Key from this URL https://console.excloud.in/console/api-keys

Installation

pip install excloud

Quick Start

from excloud import Client

# Initialize client with your API key
client = Client(api_key="your_api_key_here")

# Create a sandbox
sandbox = client.create()
print(f"Sandbox created: {sandbox.name}")

# Execute commands in the sandbox
result = sandbox.run("python --version")
print(result)

# Clean up
sandbox.destroy()