Metadata-Version: 2.5
Name: solari-daytona-compat
Version: 0.1.0
Summary: Daytona-compatible Python interface over Solari Sandboxes. Not affiliated with Daytona.
Project-URL: Homepage, https://getsolari.com
Author: Solari
License: MIT
License-File: NOTICE
Keywords: compatibility,daytona,sandbox,solari
Requires-Python: >=3.9
Requires-Dist: pydantic<3,>=2
Requires-Dist: solari-core>=0.4.0
Requires-Dist: solari-sandbox>=0.3.0
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.23; extra == 'test'
Requires-Dist: pytest>=7; extra == 'test'
Description-Content-Type: text/markdown

# solari-daytona-compat

Daytona-compatible Python interface over Solari Sandboxes. **Not affiliated with Daytona.**

```python
from solari_daytona import Daytona, CreateSandboxFromSnapshotParams  # was: from daytona import ...

daytona = Daytona()  # reads SOLARI_API_KEY (an slr_ key) and optionally SOLARI_BASE_URL
sandbox = daytona.create(CreateSandboxFromSnapshotParams(labels={"team": "a"}))
print(sandbox.process.exec("echo hello").result)
sandbox.delete()
```

`Daytona` is synchronous; `AsyncDaytona` is the async one. See COMPAT.md for what is supported and what raises
`SolariCompatUnsupported` (PTY, code-interpreter contexts, LSP, SSH, network rules, volumes, GPU, regions, warm pools).
