Skip to main content

Agent Dev Environment API

Project description

gdariodev-agent-dev-environment

This is a language-agnostic filesystem and shell API.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Package version: 0.0.65b16
  • Generator version: 7.22.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.10+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import gdariodev-agent-dev-environment

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 gdariodev-agent-dev-environment

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import gdariodev-agent-dev-environment
from gdariodev-agent-dev-environment.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = gdariodev-agent-dev-environment.Configuration(
    host = "http://localhost:8080"
)



# Enter a context with an instance of the API client
with gdariodev-agent-dev-environment.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = gdariodev-agent-dev-environment.DefaultApi(api_client)
    request = gdariodev-agent-dev-environment.AgentDevEnvironmentSrcApiV1FilesystemChdirRequest() # AgentDevEnvironmentSrcApiV1FilesystemChdirRequest | Change Directory Request

    try:
        # Change working directory
        api_response = api_instance.api_v1_filesystem_chdir_post(request)
        print("The response of DefaultApi->api_v1_filesystem_chdir_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->api_v1_filesystem_chdir_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:8080

Class Method HTTP request Description
DefaultApi api_v1_filesystem_chdir_post POST /api/v1/filesystem/chdir Change working directory
DefaultApi api_v1_filesystem_create_file_post POST /api/v1/filesystem/create_file Create file
DefaultApi api_v1_filesystem_delete_post POST /api/v1/filesystem/delete Delete file/directory
DefaultApi api_v1_filesystem_getwd_post POST /api/v1/filesystem/getwd Get working directory
DefaultApi api_v1_filesystem_ls_post POST /api/v1/filesystem/ls List directory
DefaultApi api_v1_filesystem_mkdir_post POST /api/v1/filesystem/mkdir Create directory
DefaultApi api_v1_filesystem_move_post POST /api/v1/filesystem/move Move file/directory
DefaultApi api_v1_filesystem_read_post POST /api/v1/filesystem/read Read file
DefaultApi api_v1_filesystem_replace_post POST /api/v1/filesystem/replace Replace text
DefaultApi api_v1_filesystem_search_post POST /api/v1/filesystem/search Search files
DefaultApi api_v1_shell_reload_env_post POST /api/v1/shell/reload_env Reload environment
DefaultApi api_v1_shell_run_post POST /api/v1/shell/run Run command

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdariodev_agent_dev_environment-0.0.65b16.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file gdariodev_agent_dev_environment-0.0.65b16.tar.gz.

File metadata

File hashes

Hashes for gdariodev_agent_dev_environment-0.0.65b16.tar.gz
Algorithm Hash digest
SHA256 cd4fefb2c0c366ea74b112e085d00594e0ac272dbb1cedec42661eec6f10be4a
MD5 1891ffdfe863c555d9dd0e02e9d1545d
BLAKE2b-256 f497e6b91fb6117b4f04dfe02106a032be7773c2f963c9d4926290a7a625b17c

See more details on using hashes here.

File details

Details for the file gdariodev_agent_dev_environment-0.0.65b16-py3-none-any.whl.

File metadata

File hashes

Hashes for gdariodev_agent_dev_environment-0.0.65b16-py3-none-any.whl
Algorithm Hash digest
SHA256 6fa8b6d8a3868a92097e48914a874f16abf6d712097f0d163455bb994498a79f
MD5 4e858e679d33e82a99c2fa7eb6c7c945
BLAKE2b-256 ee0d58dd6efa2b63ed32bd39beda3b6a884a25ecb39d78caa5f8da6dab5384ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page