Skip to main content

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

Documentation For Authorization

Endpoints do not require authorization.

Author

Release files for daytona_toolbox_api_client 0.214.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for daytona_toolbox_api_client 0.214.0
File Size Uploaded
daytona_toolbox_api_client-0.214.0.tar.gz 88.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for daytona_toolbox_api_client 0.214.0
File Interpreter ABI Platform
daytona_toolbox_api_client-0.214.0-py3-none-any.whl Python 3 none any Details

Total release size: 340.5 kB

Release files / daytona_toolbox_api_client-0.214.0.tar.gz

Download URL daytona_toolbox_api_client-0.214.0.tar.gz
Size 88.1 kB
Tags Source
SHA-256 checksum
How to use checksums
015dee710c7318fb4de73ff15fbefcb7fbfa27155f57ce16c4af4649a78e8771
BLAKE2b-256 checksum
How to use checksums
f6e24b1420158a7314c9c30ad608eab7d17238ee7d7cfeae27e5114e83215d2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.12.12 Linux/6.6.141

Release files / daytona_toolbox_api_client-0.214.0-py3-none-any.whl

Download URL daytona_toolbox_api_client-0.214.0-py3-none-any.whl
Size 252.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8355d0ab60e4f3f3c8fbf5df828c137210751c79db6c76c095e2abb3ccac401
BLAKE2b-256 checksum
How to use checksums
87e82ef7e19e99ae7bb9a21269c6e788688ace58c7576243f4f8eb4105785153
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.12.12 Linux/6.6.141

Release history Release notifications | RSS feed

This release

0.214.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page