Supported Languages
Python
Python 3.11 with data science libraries
JavaScript/Node.js
Node.js 20 LTS with popular packages
Shell/Bash
Execute system commands and scripts
More Coming Soon
R, Julia, Go in development
Basic Usage
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | Yes | Code to execute |
language | string | No | Programming language (default: “python”) |
timeout | integer | No | Timeout in seconds (default: 30) |
Response
Key Features
- Persistent State: Variables and imports remain between executions
- Output Handling: Capture stdout, stderr, and return values
- Error Handling: Detailed error messages and stack traces
- Resource Limits: Protection against resource exhaustion
Quick Examples
Python Data Analysis
JavaScript Web Server
Next Steps
Run Python Code
Execute Python with data science libraries
Run JavaScript Code
Execute Node.js with npm packages
Run Shell Commands
Execute system commands and scripts
Read Files
Read files from sandbox filesystem

