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.
Files changed (85) hide show
  1. {voidrun-0.2.1 → voidrun-0.2.2}/PKG-INFO +3 -3
  2. {voidrun-0.2.1 → voidrun-0.2.2}/README.md +1 -1
  3. {voidrun-0.2.1 → voidrun-0.2.2}/pyproject.toml +1 -1
  4. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/configuration.py +2 -2
  5. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/sandbox.py +1 -1
  6. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/constants.py +1 -1
  7. {voidrun-0.2.1 → voidrun-0.2.2}/.gitignore +0 -0
  8. {voidrun-0.2.1 → voidrun-0.2.2}/scripts/run_all_examples.sh +0 -0
  9. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/__init__.py +0 -0
  10. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/__init__.py +0 -0
  11. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/__init__.py +0 -0
  12. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/execution_api.py +0 -0
  13. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/file_system_api.py +0 -0
  14. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/images_api.py +0 -0
  15. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/organizations_api.py +0 -0
  16. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/sandboxes_api.py +0 -0
  17. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/system_api.py +0 -0
  18. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api/users_api.py +0 -0
  19. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api_client.py +0 -0
  20. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/api_response.py +0 -0
  21. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/exceptions.py +0 -0
  22. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/__init__.py +0 -0
  23. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/activate_api_key_request.py +0 -0
  24. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_key_response.py +0 -0
  25. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_response_sandbox.py +0 -0
  26. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_response_sandboxes_list.py +0 -0
  27. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/api_response_sandboxes_list_meta.py +0 -0
  28. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/command_kill_response.py +0 -0
  29. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/command_list_response.py +0 -0
  30. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/command_run_response.py +0 -0
  31. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/command_wait_response.py +0 -0
  32. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/compress_request.py +0 -0
  33. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_file_request.py +0 -0
  34. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_image_request.py +0 -0
  35. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_pty_session200_response.py +0 -0
  36. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_pty_session200_response_all_of_data.py +0 -0
  37. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_pty_session_request.py +0 -0
  38. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_sandbox201_response.py +0 -0
  39. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/create_sandbox_request.py +0 -0
  40. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/disk_usage.py +0 -0
  41. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/error_response.py +0 -0
  42. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/exec_request.py +0 -0
  43. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/exec_response.py +0 -0
  44. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/exec_response_data.py +0 -0
  45. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/execute_in_session_request.py +0 -0
  46. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/extract_request.py +0 -0
  47. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/file_event.py +0 -0
  48. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/file_info.py +0 -0
  49. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/file_stats.py +0 -0
  50. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/generate_api_key_request.py +0 -0
  51. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/generated_api_key_response.py +0 -0
  52. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_current_user200_response.py +0 -0
  53. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_current_user200_response_orgs_inner.py +0 -0
  54. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_org_users200_response.py +0 -0
  55. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_org_users200_response_all_of_data_inner.py +0 -0
  56. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_pty_buffer200_response.py +0 -0
  57. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_pty_buffer200_response_all_of_data.py +0 -0
  58. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/get_version200_response.py +0 -0
  59. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/image.py +0 -0
  60. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/kill_background_process_request.py +0 -0
  61. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/list_files200_response.py +0 -0
  62. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/list_files200_response_data.py +0 -0
  63. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/list_pty_sessions200_response.py +0 -0
  64. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/list_pty_sessions200_response_all_of_data.py +0 -0
  65. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/organization.py +0 -0
  66. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/process_info.py +0 -0
  67. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/pty_session_info.py +0 -0
  68. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/resize_terminal_request.py +0 -0
  69. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/run_background_command_request.py +0 -0
  70. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/session_exec_request.py +0 -0
  71. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/session_exec_response.py +0 -0
  72. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/session_exec_stream_request.py +0 -0
  73. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/start_watch200_response.py +0 -0
  74. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/start_watch200_response_data.py +0 -0
  75. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/start_watch_request.py +0 -0
  76. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/models/success_response.py +0 -0
  77. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/py.typed +0 -0
  78. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/api_client/rest.py +0 -0
  79. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/client.py +0 -0
  80. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/commands.py +0 -0
  81. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/fs.py +0 -0
  82. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/interpreter.py +0 -0
  83. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/pty.py +0 -0
  84. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/response.py +0 -0
  85. {voidrun-0.2.1 → voidrun-0.2.2}/voidrun/sandbox.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: voidrun
3
- Version: 0.2.1
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://platform.void-run.com/api` | Default API host when `VR_API_URL` / `API_URL` are unset. |
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://platform.void-run.com/api` | Default API host when `VR_API_URL` / `API_URL` are unset. |
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. |
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "voidrun"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Python SDK for VoidRun AI Sandbox"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -238,7 +238,7 @@ conf = voidrun.api_client.Configuration(
238
238
  ) -> None:
239
239
  """Constructor
240
240
  """
241
- self._base_path = "https://platform.void-run.com/api" if host is None else host
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://platform.void-run.com/api",
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": [5120]})
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://platform.void-run.com/api"
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