Metadata-Version: 2.4
Name: vercel-sandbox-bundle
Version: 0.2.0
Summary: Python SDK for Vercel Sandbox
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: pydantic<3,>=2.7.0
Requires-Dist: vercel-internal-core-bundle<0.2.0,>=0.1.0
Requires-Dist: vercel-internal-shared-vendored-deps>=0.1.0
Requires-Dist: vercel-oidc-bundle>=0.7.1
Description-Content-Type: text/markdown

# vercel-sandbox-bundle

This is a version of `vercel-sandbox` with third-party dependencies bundled. For normal use, install the unbundled `vercel-sandbox` package instead: https://pypi.org/project/vercel-sandbox/

# Vercel Sandbox Python SDK

Create and manage Vercel Sandboxes with synchronous and asynchronous APIs.

```python
from vercel import sandbox
from vercel.api import session

async with session():
    async with sandbox.create_sandbox() as instance:
        process = await instance.run_process("echo", ["hello"], capture_output=True)
        print(process.stdout)
```

The package can be installed independently with `pip install vercel-sandbox`.

The same promoted API is available synchronously:

```python
from vercel.api import session
from vercel.sandbox import sync as sandbox

with session():
    with sandbox.create_sandbox() as instance:
        process = instance.run_process("echo", ["hello"], capture_output=True)
        print(process.stdout)
```

Installing this package also provides the `vercel-sandbox` and `sandbox`
console commands. Both are aliases that delegate all arguments to `npx sandbox`;
they require Node.js with npm and `npx` installed. Node.js is not required when
using the Python API directly.
