Skip to main content
The python template ships Python 3.10 with pip, venv, and requests, httpx, pydantic, numpy, and pandas already installed. Pick it for data-processing scripts, REST clients, or anything that needs pandas / numpy without a custom build.

What you’ll learn

  • Picking template="python" to skip a pip install pandas step
  • Writing input data into the sandbox with sbx.files.write
  • Running a Python analysis script and reading JSON back

Prerequisites

Code

Expected output

The python template intentionally does not include heavy ML packages (torch, transformers, scipy, scikit-learn). If you need those, build a custom template — see Build a custom template.