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.74
- Generator version: 7.22.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://github.com/gdariodev/agent-dev-environment
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
- AgentDevEnvironmentSrcApiV1CommandResponse
- AgentDevEnvironmentSrcApiV1FilesystemChdirRequest
- AgentDevEnvironmentSrcApiV1FilesystemCreateFileRequest
- AgentDevEnvironmentSrcApiV1FilesystemDeleteRequest
- AgentDevEnvironmentSrcApiV1FilesystemGetwdResponse
- AgentDevEnvironmentSrcApiV1FilesystemLsRequest
- AgentDevEnvironmentSrcApiV1FilesystemMkdirRequest
- AgentDevEnvironmentSrcApiV1FilesystemMoveRequest
- AgentDevEnvironmentSrcApiV1FilesystemReadRequest
- AgentDevEnvironmentSrcApiV1FilesystemReadResponse
- AgentDevEnvironmentSrcApiV1FilesystemReplaceRequest
- AgentDevEnvironmentSrcApiV1FilesystemReplaceResponse
- AgentDevEnvironmentSrcApiV1FilesystemSearchRequest
- AgentDevEnvironmentSrcApiV1ShellReloadEnvRequest
- AgentDevEnvironmentSrcApiV1ShellRunRequest
Documentation For Authorization
Endpoints do not require authorization.
Author
Metadata
Release files for gdariodev-agent-dev-environment 0.0.74
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gdariodev_agent_dev_environment-0.0.74.tar.gz | 30.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gdariodev_agent_dev_environment-0.0.74-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.7 kB
Release files / gdariodev_agent_dev_environment-0.0.74.tar.gz
| Download URL | gdariodev_agent_dev_environment-0.0.74.tar.gz |
|---|---|
| Size | 30.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
243cb9da47f20b11aa71589020fd15a9d1b819575e59803b67be73182e18bcfc
|
|
BLAKE2b-256 checksum How to use checksums |
09be676835c322a570560e9b2166ac42c8025d748718b45d706e678881d660a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / gdariodev_agent_dev_environment-0.0.74-py3-none-any.whl
| Download URL | gdariodev_agent_dev_environment-0.0.74-py3-none-any.whl |
|---|---|
| Size | 46.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20c0583a56bf5387835503edb937ced25319ff866dd2ab357c52455970067357
|
|
BLAKE2b-256 checksum How to use checksums |
fe75da390bfee5e8edff68de41249fe011539ccade95987e5b846c3f6587d5f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|