0.5.4

Quickstart

Get started with Concave Sandbox in under 5 minutes. Run secure, isolated code at scale.

1

Install SDK

Install the Concave SDK:

pip install concave-sandbox
2

Get Your API Key

Sign up at Concave to get your API key. During private beta, we are limited to only one API key per account.

3

Set Your API Key

Export your Concave Sandbox API key as an environment variable.

export CONCAVE_SANDBOX_API_KEY=your_api_key_here
4

Create a Sandbox

Save the following code to a file named main.py.

from concave import sandbox with sandbox() as s: result = s.run("print('Hello from Concave!')") print(result.stdout)
5

Run the Test

This spins up a VM, runs your code, and destroys it—all in milliseconds.

python main.py # Hello from Concave!