Get started with EV2D in under 5 minutes. Create your first sandbox and start coding in the cloud.
pip install EV2Dfrom EV2D import Sandbox
# Initialize with your API key
sb = Sandbox(api_key="your-api-key")
# Create a new sandbox
sandbox = sb.create_sandbox(
    name="my-first-sandbox",
    template="python",
    resources={
        "memory": "1GB",
        "cpus": "1"
    }
)
print(f"Sandbox ready: {sandbox.url}")
print(f"Status: {sandbox.status}")# Execute commands in your sandbox
with sb("my-first-sandbox") as env:
    # Install packages
    env.run_command("pip install requests numpy")
    
    # Run your code
    result = env.run_command("python app.py")
    print(result.stdout)
    
    # Upload files
    env.upload_file("data.csv", "./local-data.csv")
# Sandbox automatically closes when done