sandboxes-python-sdk

Manage Koyeb sandbox lifecycle operations using the Python SDK.

4|2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/koyeb/koyeb-skills --skill sandboxes-python-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sandboxes-python-sdk
Source: https://github.com/koyeb/koyeb-skills/tree/main/plugins/koyeb/skills/sandboxes-python-sdk
Command: npx skills add https://github.com/koyeb/koyeb-skills --skill sandboxes-python-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manage Koyeb sandboxes programmatically using Python SDK to automate sandbox lifecycle and operations.

Core Features & Use Cases

  • Create, start, stop, and delete sandboxes via koyeb-sdk.
  • Retrieve sandbox status, logs, and domain information to monitor experiments.
  • Use cases: Python-based automation pipelines, reproducible sandbox environments for testing.

Quick Start

Install the koyeb-sdk and initialize a Sandbox, then run a simple command to verify the setup.

Frequently Asked Questions about sandboxes-python-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Koyeb sandbox provisioning with Python?

You can automate Koyeb sandbox provisioning using the Python SDK by calling lifecycle methods like Sandbox.create to programmatically start and configure environments for CI pipelines and testing.

What is required to authenticate the Python SDK for Koyeb sandbox automation?

Authenticating the Python SDK for Koyeb sandbox automation requires setting the KOYEB_API_TOKEN environment variable, which authorizes the koyeb-sdk to manage your sandbox lifecycle operations.

Can I execute commands inside a Koyeb sandbox using Python?

Yes, you can execute commands inside a Koyeb sandbox using Python by calling the exec method exposed by the koyeb-sdk after retrieving the sandbox instance with get_from_id.

How do I retrieve sandbox logs and status using the Koyeb Python SDK?

Retrieve Koyeb sandbox logs and status using the Python SDK by fetching the sandbox instance via get_from_id, then accessing the exposed properties to monitor experiments and domain information.

What is the best way to delete a Koyeb sandbox programmatically in a CI pipeline?

The best way to delete a Koyeb sandbox programmatically in a CI pipeline is using the delete method from the koyeb-sdk to ensure repeatable teardown and clean up resources after testing.

Does the Koyeb Python SDK support reproducible test environments?

The Koyeb Python SDK supports reproducible test environments by enabling you to programmatically create, configure, and delete sandboxes, ensuring consistent provisioning and teardown across automation workflows.