voidrun 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {voidrun-0.2.1 → voidrun-0.2.2}/PKG-INFO +3 -3
- {voidrun-0.2.1 → voidrun-0.2.2}/README.md +1 -1
- {voidrun-0.2.1 → voidrun-0.2.2}/pyproject.toml +1 -1
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/configuration.py +2 -2
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/sandbox.py +1 -1
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/constants.py +1 -1
- {voidrun-0.2.1 → voidrun-0.2.2}/.gitignore +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/scripts/run_all_examples.sh +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/__init__.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/__init__.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/__init__.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/execution_api.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/file_system_api.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/images_api.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/organizations_api.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/sandboxes_api.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/system_api.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/users_api.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api_client.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/exceptions.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/__init__.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/activate_api_key_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_key_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_response_sandbox.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_response_sandboxes_list.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_response_sandboxes_list_meta.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/command_kill_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/command_list_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/command_run_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/command_wait_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/compress_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_file_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_image_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_pty_session200_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_pty_session200_response_all_of_data.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_pty_session_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_sandbox201_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_sandbox_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/disk_usage.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/error_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/exec_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/exec_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/exec_response_data.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/execute_in_session_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/extract_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/file_event.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/file_info.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/file_stats.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/generate_api_key_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/generated_api_key_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_current_user200_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_current_user200_response_orgs_inner.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_org_users200_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_org_users200_response_all_of_data_inner.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_pty_buffer200_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_pty_buffer200_response_all_of_data.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_version200_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/image.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/kill_background_process_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/list_files200_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/list_files200_response_data.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/list_pty_sessions200_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/list_pty_sessions200_response_all_of_data.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/organization.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/process_info.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/pty_session_info.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/resize_terminal_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/run_background_command_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/session_exec_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/session_exec_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/session_exec_stream_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/start_watch200_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/start_watch200_response_data.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/start_watch_request.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/success_response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/py.typed +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/rest.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/client.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/commands.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/fs.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/interpreter.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/pty.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/response.py +0 -0
- {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/sandbox.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: voidrun
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Python SDK for VoidRun AI Sandbox
|
|
5
5
|
Project-URL: Homepage, https://voidrun.io
|
|
6
6
|
Project-URL: Documentation, https://docs.voidrun.io
|
|
@@ -114,7 +114,7 @@ Exported from `voidrun`:
|
|
|
114
114
|
|
|
115
115
|
| Constant | Value | Meaning |
|
|
116
116
|
|----------|-------|---------|
|
|
117
|
-
| `DEFAULT_API_BASE_URL` | `https://
|
|
117
|
+
| `DEFAULT_API_BASE_URL` | `https://api.void-run.com/api` | Default API host when `VR_API_URL` / `API_URL` are unset. |
|
|
118
118
|
| `DEFAULT_SANDBOX_IMAGE` | `"code"` | Default image id when creating a sandbox without `image=`. |
|
|
119
119
|
| `DEFAULT_SANDBOX_CPU` | `1` | Default CPU count. |
|
|
120
120
|
| `DEFAULT_SANDBOX_MEM` | `1024` | Default memory in MB. |
|
|
@@ -90,7 +90,7 @@ Exported from `voidrun`:
|
|
|
90
90
|
|
|
91
91
|
| Constant | Value | Meaning |
|
|
92
92
|
|----------|-------|---------|
|
|
93
|
-
| `DEFAULT_API_BASE_URL` | `https://
|
|
93
|
+
| `DEFAULT_API_BASE_URL` | `https://api.void-run.com/api` | Default API host when `VR_API_URL` / `API_URL` are unset. |
|
|
94
94
|
| `DEFAULT_SANDBOX_IMAGE` | `"code"` | Default image id when creating a sandbox without `image=`. |
|
|
95
95
|
| `DEFAULT_SANDBOX_CPU` | `1` | Default CPU count. |
|
|
96
96
|
| `DEFAULT_SANDBOX_MEM` | `1024` | Default memory in MB. |
|
|
@@ -238,7 +238,7 @@ conf = voidrun.api_client.Configuration(
|
|
|
238
238
|
) -> None:
|
|
239
239
|
"""Constructor
|
|
240
240
|
"""
|
|
241
|
-
self._base_path = "https://
|
|
241
|
+
self._base_path = "https://api.void-run.com/api" if host is None else host
|
|
242
242
|
"""Default Base url
|
|
243
243
|
"""
|
|
244
244
|
self.server_index = 0 if server_index is None and host is None else server_index
|
|
@@ -581,7 +581,7 @@ conf = voidrun.api_client.Configuration(
|
|
|
581
581
|
"""
|
|
582
582
|
return [
|
|
583
583
|
{
|
|
584
|
-
'url': "https://
|
|
584
|
+
'url': "https://api.void-run.com/api",
|
|
585
585
|
'description': "Production server",
|
|
586
586
|
}
|
|
587
587
|
]
|
|
@@ -34,7 +34,7 @@ class Sandbox(BaseModel):
|
|
|
34
34
|
image: Optional[StrictStr] = Field(default=None, description="Resolved image in `name:ver` format", json_schema_extra={"examples": ["code:1.0.42"]})
|
|
35
35
|
cpu: Optional[StrictInt] = Field(default=None, description="Number of vCPUs allocated", json_schema_extra={"examples": [2]})
|
|
36
36
|
mem: Optional[StrictInt] = Field(default=None, description="Memory in MiB", json_schema_extra={"examples": [2048]})
|
|
37
|
-
disk_mb: Optional[StrictInt] = Field(default=None, description="Disk size in MiB", alias="diskMB", json_schema_extra={"examples": [
|
|
37
|
+
disk_mb: Optional[StrictInt] = Field(default=None, description="Disk size in MiB", alias="diskMB", json_schema_extra={"examples": [10240]})
|
|
38
38
|
status: Optional[StrictStr] = Field(default=None, description="Lifecycle state. Terminal states `killed` and `deleted` may still appear in list responses for historical or cleanup rows.", json_schema_extra={"examples": ["running"]})
|
|
39
39
|
created_at: Optional[datetime] = Field(default=None, alias="createdAt")
|
|
40
40
|
created_by: Optional[StrictStr] = Field(default=None, description="User ID who created the sandbox", alias="createdBy", json_schema_extra={"examples": ["65ae1234567890abcdef1234"]})
|
|
@@ -10,7 +10,7 @@ DEFAULT_SANDBOX_CPU = 1
|
|
|
10
10
|
DEFAULT_SANDBOX_MEM = 1024
|
|
11
11
|
|
|
12
12
|
# Same default host as ts-sdk `BASE_PATH` (hosted VoidRun API).
|
|
13
|
-
DEFAULT_API_BASE_URL = "https://
|
|
13
|
+
DEFAULT_API_BASE_URL = "https://api.void-run.com/api"
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
def default_api_key() -> Optional[str]:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_response_sandboxes_list_meta.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_current_user200_response_orgs_inner.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_pty_buffer200_response_all_of_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/kill_background_process_request.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|