Metadata-Version: 2.4
Name: syva
Version: 0.1.1
Summary: Python SDK for Syva sandboxes
Author: Syva
License-Expression: MIT
Keywords: syva,sandbox,code-execution
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Syva Python SDK

Install:

```bash
pip install syva
```

Use:

```python
from syva import Image, Sandbox

image = Image("base").python("3.12").pip_install("requests")
sandbox = Sandbox.create(image=image)
result = sandbox.process.exec("python3 --version")
print(result.stdout)
sandbox.destroy()
```

Set `SYVA_API_KEY` for the hosted API. Set `SYVA_API_URL` to point the SDK at a
local or self-hosted control plane.
