daytona_toolbox_api_client
Daytona Daemon Toolbox API for file operations, process execution, git operations, LSP, computer use, and more.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: v0.0.0-dev
- Package version: 0.0.0-dev
- Generator version: 7.12.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements
Python 3.8+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/daytona/clients.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/daytona/clients.git)
Then import the package:
import daytona_toolbox_api_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import daytona_toolbox_api_client
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import daytona_toolbox_api_client
from daytona_toolbox_api_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:22221
# See configuration.py for a list of all supported configuration parameters.
configuration = daytona_toolbox_api_client.Configuration(
host = "http://localhost:22221"
)
# Enter a context with an instance of the API client
with daytona_toolbox_api_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = daytona_toolbox_api_client.ComputerUseApi(api_client)
request = daytona_toolbox_api_client.MouseClickRequest() # MouseClickRequest | Mouse click request
try:
# Click mouse button
api_response = api_instance.click(request)
print("The response of ComputerUseApi->click:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling ComputerUseApi->click: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost:22221
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ComputerUseApi | click | POST /computeruse/mouse/click | Click mouse button |
| ComputerUseApi | drag | POST /computeruse/mouse/drag | Drag mouse |
| ComputerUseApi | get_computer_use_status | GET /computeruse/process-status | Get computer use process status |
| ComputerUseApi | get_computer_use_system_status | GET /computeruse/status | Get computer use status |
| ComputerUseApi | get_display_info | GET /computeruse/display/info | Get display information |
| ComputerUseApi | get_mouse_position | GET /computeruse/mouse/position | Get mouse position |
| ComputerUseApi | get_process_errors | GET /computeruse/process/{processName}/errors | Get process errors |
| ComputerUseApi | get_process_logs | GET /computeruse/process/{processName}/logs | Get process logs |
| ComputerUseApi | get_process_status | GET /computeruse/process/{processName}/status | Get specific process status |
| ComputerUseApi | get_windows | GET /computeruse/display/windows | Get windows information |
| ComputerUseApi | move_mouse | POST /computeruse/mouse/move | Move mouse cursor |
| ComputerUseApi | press_hotkey | POST /computeruse/keyboard/hotkey | Press hotkey |
| ComputerUseApi | press_key | POST /computeruse/keyboard/key | Press key |
| ComputerUseApi | restart_process | POST /computeruse/process/{processName}/restart | Restart specific process |
| ComputerUseApi | scroll | POST /computeruse/mouse/scroll | Scroll mouse wheel |
| ComputerUseApi | start_computer_use | POST /computeruse/start | Start computer use processes |
| ComputerUseApi | stop_computer_use | POST /computeruse/stop | Stop computer use processes |
| ComputerUseApi | take_compressed_region_screenshot | GET /computeruse/screenshot/region/compressed | Take a compressed region screenshot |
| ComputerUseApi | take_compressed_screenshot | GET /computeruse/screenshot/compressed | Take a compressed screenshot |
| ComputerUseApi | take_region_screenshot | GET /computeruse/screenshot/region | Take a region screenshot |
| ComputerUseApi | take_screenshot | GET /computeruse/screenshot | Take a screenshot |
| ComputerUseApi | type_text | POST /computeruse/keyboard/type | Type text |
| FileSystemApi | create_folder | POST /files/folder | Create a folder |
| FileSystemApi | delete_file | DELETE /files | Delete a file or directory |
| FileSystemApi | download_file | GET /files/download | Download a file |
| FileSystemApi | find_in_files | GET /files/find | Find text in files |
| FileSystemApi | get_file_info | GET /files/info | Get file information |
| FileSystemApi | list_files | GET /files | List files and directories |
| FileSystemApi | move_file | POST /files/move | Move or rename file/directory |
| FileSystemApi | replace_in_files | POST /files/replace | Replace text in files |
| FileSystemApi | search_files | GET /files/search | Search files by pattern |
| FileSystemApi | set_file_permissions | POST /files/permissions | Set file permissions |
| FileSystemApi | upload_file | POST /files/upload | Upload a file |
| FileSystemApi | upload_files | POST /files/bulk-upload | Upload multiple files |
| GitApi | add_files | POST /git/add | Add files to Git staging |
| GitApi | checkout_branch | POST /git/checkout | Checkout branch or commit |
| GitApi | clone_repository | POST /git/clone | Clone a Git repository |
| GitApi | commit_changes | POST /git/commit | Commit changes |
| GitApi | create_branch | POST /git/branches | Create a new branch |
| GitApi | delete_branch | DELETE /git/branches | Delete a branch |
| GitApi | get_commit_history | GET /git/history | Get commit history |
| GitApi | get_status | GET /git/status | Get Git status |
| GitApi | list_branches | GET /git/branches | List branches |
| GitApi | pull_changes | POST /git/pull | Pull changes from remote |
| GitApi | push_changes | POST /git/push | Push changes to remote |
| InfoApi | get_project_dir | GET /project-dir | Get project directory |
| InfoApi | get_version | GET /version | Get version |
| LspApi | completions | POST /lsp/completions | Get code completions |
| LspApi | did_close | POST /lsp/did-close | Notify document closed |
| LspApi | did_open | POST /lsp/did-open | Notify document opened |
| LspApi | document_symbols | GET /lsp/document-symbols | Get document symbols |
| LspApi | start | POST /lsp/start | Start LSP server |
| LspApi | stop | POST /lsp/stop | Stop LSP server |
| LspApi | workspace_symbols | GET /lsp/workspaceSymbols | Get workspace symbols |
| PortApi | get_ports | GET /port | Get active ports |
| PortApi | is_port_in_use | GET /port/{port}/in-use | Check if port is in use |
| ProcessApi | create_session | POST /process/session | Create a new session |
| ProcessApi | delete_session | DELETE /process/session/{sessionId} | Delete a session |
| ProcessApi | execute_command | POST /process/execute | Execute a command |
| ProcessApi | get_session | GET /process/session/{sessionId} | Get session details |
| ProcessApi | get_session_command | GET /process/session/{sessionId}/command/{commandId} | Get session command details |
| ProcessApi | get_session_command_logs | GET /process/session/{sessionId}/command/{commandId}/logs | Get session command logs |
| ProcessApi | list_sessions | GET /process/session | List all sessions |
| ProcessApi | session_execute_command | POST /process/session/{sessionId}/exec | Execute command in session |
Documentation For Models
- Command
- CompletionContext
- CompletionItem
- CompletionList
- ComputerUseStartResponse
- ComputerUseStatusResponse
- ComputerUseStopResponse
- CreateSessionRequest
- DisplayInfo
- DisplayInfoResponse
- ExecuteRequest
- ExecuteResponse
- FileInfo
- FileStatus
- GitAddRequest
- GitBranchRequest
- GitCheckoutRequest
- GitCloneRequest
- GitCommitInfo
- GitCommitRequest
- GitCommitResponse
- GitGitDeleteBranchRequest
- GitRepoRequest
- GitStatus
- IsPortInUseResponse
- KeyboardHotkeyRequest
- KeyboardPressRequest
- KeyboardTypeRequest
- ListBranchResponse
- LspCompletionParams
- LspDocumentRequest
- LspLocation
- LspPosition
- LspRange
- LspServerRequest
- LspSymbol
- Match
- MouseClickRequest
- MouseClickResponse
- MouseDragRequest
- MouseDragResponse
- MouseMoveRequest
- MousePositionResponse
- MouseScrollRequest
- PortList
- Position
- ProcessErrorsResponse
- ProcessLogsResponse
- ProcessRestartResponse
- ProcessStatus
- ProcessStatusResponse
- ProjectDirResponse
- ReplaceRequest
- ReplaceResult
- ScreenshotResponse
- ScrollResponse
- SearchFilesResponse
- Session
- SessionExecuteRequest
- SessionExecuteResponse
- Status
- WindowInfo
- WindowsResponse
Documentation For Authorization
Endpoints do not require authorization.
Author
Metadata
Release files for daytona_toolbox_api_client 0.226.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| daytona_toolbox_api_client-0.226.1.tar.gz | 90.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daytona_toolbox_api_client-0.226.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 353.8 kB
Release files / daytona_toolbox_api_client-0.226.1.tar.gz
| Download URL | daytona_toolbox_api_client-0.226.1.tar.gz |
|---|---|
| Size | 90.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
033bb720a9d296320c41ccdc1e7a3a93023ff32e4eeea63f9ac133082c81edd0
|
|
BLAKE2b-256 checksum How to use checksums |
d10221ace62677526d462c809909e49be2dc2d7695a46fb69424f49ed15da460
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.12.15 Linux/6.17.0-1022-azure
|
Release files / daytona_toolbox_api_client-0.226.1-py3-none-any.whl
| Download URL | daytona_toolbox_api_client-0.226.1-py3-none-any.whl |
|---|---|
| Size | 263.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edee478ee784a21b5a2124c8977d3aba0506e1be5012711a85edf565548ce530
|
|
BLAKE2b-256 checksum How to use checksums |
660f91ebe5cc471150dd0119bc7f9acdecffdffa752958f0e8ad03c255569eff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.12.15 Linux/6.17.0-1022-azure
|
Security for daytona_toolbox_api_client 0.226.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.