The Vercel Python SDK is now available in beta, bringing first-class Python support for many Vercel features such as Vercel Sandbox, Blob, and the Runtime Cache API.
To get started, install the vercel package with pip install vercel.
Vercel Python SDK lets you directly interact with Vercel primitives via python code like:
Run untrusted code in isolated, ephemeral environments using Vercel Sandbox:
from vercel.sandbox import Sandbox
with Sandbox.create(runtime="python3.13") as sandbox:
command = sandbox.run_command("python", ["-c", "print('hello world')"])
print(command.stdout())
Read the full changelog at Vercel Python SDK is now available in beta - Vercel.