Metadata-Version: 2.4
Name: open-daytona
Version: 0.1.0
Summary: Clients for open-daytona, a self-hosted Daytona-compatible sandbox pool (rootless gVisor, GPUs included): pool client, Daytona SDK build-context patch, Harbor environment
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/andylizf/open-daytona
Project-URL: Documentation, https://github.com/andylizf/open-daytona/blob/main/docs/daytona-compat.md
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: harbor
Requires-Dist: harbor==0.25.0; extra == "harbor"
Requires-Dist: daytona<1,>=0.234; extra == "harbor"
Requires-Dist: pyyaml; extra == "harbor"
Dynamic: license-file

# open-daytona (Python clients)

Client side of [open-daytona](https://github.com/andylizf/open-daytona), a self-hosted sandbox pool that speaks the
Daytona API and runs each sandbox under rootless gVisor, GPU sandboxes included. The pool itself (the node daemon and
the gateway) runs from a checkout of the repository; see its README.

- `open_daytona.harbor.OpenDaytonaEnvironment`: a Harbor environment for a pool. Install with the `harbor` extra and
  run Harbor with it:

  ```bash
  pip install "open-daytona[harbor]"
  export DAYTONA_API_URL=http://<gateway>:8790/api DAYTONA_API_KEY=<pool token>
  harbor run -e open_daytona.harbor:OpenDaytonaEnvironment -p <task> -a <agent> ...
  ```

  It is Harbor's Daytona environment with two changes: build contexts upload over plain http, and a task whose
  `docker-compose.yaml` only sizes `/dev/shm` and reserves GPUs runs as one sandbox instead of Docker-in-Docker.
- `open_daytona.daytona_s3_http`: importing it lets the Daytona SDK upload build contexts to a gateway over http.
- `open_daytona.sbxclient`: a standard-library client for the pool's own `/v1` API.
