June 8th, 2026
π Python SDK is live β pip install jhansi
from jhansi import Sandbox
with Sandbox(language="python") as sb: sb.upload_file("main.py") result = sb.exec("python main.py") print(result["output"])
Also ships:
Dockerfile + docker-compose for self-hosting Petri in one command
Full SDK docs on docs.jhansi.io
docker compose up and you're running.