voltagegpu-cli 1.1.0__tar.gz → 1.2.1__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 (337) hide show
  1. voltagegpu_cli-1.2.1/CHANGELOG.md +105 -0
  2. voltagegpu_cli-1.2.1/PKG-INFO +244 -0
  3. voltagegpu_cli-1.2.1/README.md +207 -0
  4. voltagegpu_cli-1.2.1/examples/deploy_confidential_pod.py +60 -0
  5. {voltagegpu_cli-1.1.0 → voltagegpu_cli-1.2.1}/pyproject.toml +60 -50
  6. voltagegpu_cli-1.2.1/volt/__init__.py +6 -0
  7. voltagegpu_cli-1.2.1/volt/cli/cli.py +646 -0
  8. voltagegpu_cli-1.2.1/volt/sdk/__init__.py +7 -0
  9. voltagegpu_cli-1.2.1/volt/sdk/client.py +313 -0
  10. voltagegpu_cli-1.2.1/volt/sdk/config.py +65 -0
  11. voltagegpu_cli-1.1.0/CHANGELOG.md +0 -123
  12. voltagegpu_cli-1.1.0/PKG-INFO +0 -290
  13. voltagegpu_cli-1.1.0/README.md +0 -254
  14. voltagegpu_cli-1.1.0/docs/_static/.gitkeep +0 -1
  15. voltagegpu_cli-1.1.0/docs/_templates/.gitkeep +0 -1
  16. voltagegpu_cli-1.1.0/docs/api/lium.sdk.BackupConfig.rst +0 -36
  17. voltagegpu_cli-1.1.0/docs/api/lium.sdk.BackupLog.rst +0 -37
  18. voltagegpu_cli-1.1.0/docs/api/lium.sdk.Config.rst +0 -33
  19. voltagegpu_cli-1.1.0/docs/api/lium.sdk.ExecutorInfo.rst +0 -41
  20. voltagegpu_cli-1.1.0/docs/api/lium.sdk.Lium.rst +0 -70
  21. voltagegpu_cli-1.1.0/docs/api/lium.sdk.PodInfo.rst +0 -43
  22. voltagegpu_cli-1.1.0/docs/api/lium.sdk.Template.rst +0 -34
  23. voltagegpu_cli-1.1.0/docs/api/lium.sdk.VolumeInfo.rst +0 -38
  24. voltagegpu_cli-1.1.0/docs/api/lium.sdk.machine.rst +0 -6
  25. voltagegpu_cli-1.1.0/docs/api.rst +0 -41
  26. voltagegpu_cli-1.1.0/docs/conf.py +0 -42
  27. voltagegpu_cli-1.1.0/docs/getting-started.rst +0 -59
  28. voltagegpu_cli-1.1.0/docs/index.rst +0 -14
  29. voltagegpu_cli-1.1.0/docs/requirements.txt +0 -3
  30. voltagegpu_cli-1.1.0/examples/quick_vllm.py +0 -43
  31. voltagegpu_cli-1.1.0/lium/__init__.py +0 -3
  32. voltagegpu_cli-1.1.0/lium/cli/__init__.py +0 -1
  33. voltagegpu_cli-1.1.0/lium/cli/actions.py +0 -11
  34. voltagegpu_cli-1.1.0/lium/cli/bk/__init__.py +0 -26
  35. voltagegpu_cli-1.1.0/lium/cli/bk/logs/actions.py +0 -38
  36. voltagegpu_cli-1.1.0/lium/cli/bk/logs/command.py +0 -80
  37. voltagegpu_cli-1.1.0/lium/cli/bk/logs/display.py +0 -72
  38. voltagegpu_cli-1.1.0/lium/cli/bk/logs/parsing.py +0 -23
  39. voltagegpu_cli-1.1.0/lium/cli/bk/logs/validation.py +0 -9
  40. voltagegpu_cli-1.1.0/lium/cli/bk/now/actions.py +0 -31
  41. voltagegpu_cli-1.1.0/lium/cli/bk/now/command.py +0 -61
  42. voltagegpu_cli-1.1.0/lium/cli/bk/now/parsing.py +0 -39
  43. voltagegpu_cli-1.1.0/lium/cli/bk/now/validation.py +0 -9
  44. voltagegpu_cli-1.1.0/lium/cli/bk/restore/actions.py +0 -20
  45. voltagegpu_cli-1.1.0/lium/cli/bk/restore/command.py +0 -61
  46. voltagegpu_cli-1.1.0/lium/cli/bk/restore/parsing.py +0 -20
  47. voltagegpu_cli-1.1.0/lium/cli/bk/restore/validation.py +0 -12
  48. voltagegpu_cli-1.1.0/lium/cli/bk/rm/actions.py +0 -23
  49. voltagegpu_cli-1.1.0/lium/cli/bk/rm/command.py +0 -67
  50. voltagegpu_cli-1.1.0/lium/cli/bk/rm/parsing.py +0 -20
  51. voltagegpu_cli-1.1.0/lium/cli/bk/rm/validation.py +0 -9
  52. voltagegpu_cli-1.1.0/lium/cli/bk/set/actions.py +0 -33
  53. voltagegpu_cli-1.1.0/lium/cli/bk/set/command.py +0 -74
  54. voltagegpu_cli-1.1.0/lium/cli/bk/set/parsing.py +0 -50
  55. voltagegpu_cli-1.1.0/lium/cli/bk/set/validation.py +0 -21
  56. voltagegpu_cli-1.1.0/lium/cli/bk/show/actions.py +0 -58
  57. voltagegpu_cli-1.1.0/lium/cli/bk/show/command.py +0 -80
  58. voltagegpu_cli-1.1.0/lium/cli/bk/show/parsing.py +0 -20
  59. voltagegpu_cli-1.1.0/lium/cli/bk/show/validation.py +0 -9
  60. voltagegpu_cli-1.1.0/lium/cli/cli.py +0 -99
  61. voltagegpu_cli-1.1.0/lium/cli/commands/__init__.py +0 -1
  62. voltagegpu_cli-1.1.0/lium/cli/commands/exec.py +0 -129
  63. voltagegpu_cli-1.1.0/lium/cli/commands/mine.py +0 -443
  64. voltagegpu_cli-1.1.0/lium/cli/completion.py +0 -71
  65. voltagegpu_cli-1.1.0/lium/cli/config/__init__.py +0 -28
  66. voltagegpu_cli-1.1.0/lium/cli/config/edit/actions.py +0 -23
  67. voltagegpu_cli-1.1.0/lium/cli/config/edit/command.py +0 -22
  68. voltagegpu_cli-1.1.0/lium/cli/config/get/actions.py +0 -17
  69. voltagegpu_cli-1.1.0/lium/cli/config/get/command.py +0 -42
  70. voltagegpu_cli-1.1.0/lium/cli/config/get/validation.py +0 -9
  71. voltagegpu_cli-1.1.0/lium/cli/config/path/actions.py +0 -12
  72. voltagegpu_cli-1.1.0/lium/cli/config/path/command.py +0 -22
  73. voltagegpu_cli-1.1.0/lium/cli/config/reset/actions.py +0 -17
  74. voltagegpu_cli-1.1.0/lium/cli/config/reset/command.py +0 -28
  75. voltagegpu_cli-1.1.0/lium/cli/config/set/actions.py +0 -20
  76. voltagegpu_cli-1.1.0/lium/cli/config/set/command.py +0 -40
  77. voltagegpu_cli-1.1.0/lium/cli/config/set/validation.py +0 -9
  78. voltagegpu_cli-1.1.0/lium/cli/config/show/actions.py +0 -23
  79. voltagegpu_cli-1.1.0/lium/cli/config/show/command.py +0 -26
  80. voltagegpu_cli-1.1.0/lium/cli/config/unset/actions.py +0 -17
  81. voltagegpu_cli-1.1.0/lium/cli/config/unset/command.py +0 -23
  82. voltagegpu_cli-1.1.0/lium/cli/fund/__init__.py +0 -5
  83. voltagegpu_cli-1.1.0/lium/cli/fund/actions.py +0 -141
  84. voltagegpu_cli-1.1.0/lium/cli/fund/command.py +0 -113
  85. voltagegpu_cli-1.1.0/lium/cli/fund/validation.py +0 -16
  86. voltagegpu_cli-1.1.0/lium/cli/init/__init__.py +0 -5
  87. voltagegpu_cli-1.1.0/lium/cli/init/actions.py +0 -56
  88. voltagegpu_cli-1.1.0/lium/cli/init/auth.py +0 -62
  89. voltagegpu_cli-1.1.0/lium/cli/init/command.py +0 -35
  90. voltagegpu_cli-1.1.0/lium/cli/logs/__init__.py +0 -5
  91. voltagegpu_cli-1.1.0/lium/cli/logs/actions.py +0 -39
  92. voltagegpu_cli-1.1.0/lium/cli/logs/command.py +0 -66
  93. voltagegpu_cli-1.1.0/lium/cli/logs/parsing.py +0 -25
  94. voltagegpu_cli-1.1.0/lium/cli/logs/validation.py +0 -15
  95. voltagegpu_cli-1.1.0/lium/cli/ls/__init__.py +0 -5
  96. voltagegpu_cli-1.1.0/lium/cli/ls/actions.py +0 -33
  97. voltagegpu_cli-1.1.0/lium/cli/ls/command.py +0 -112
  98. voltagegpu_cli-1.1.0/lium/cli/ls/display.py +0 -222
  99. voltagegpu_cli-1.1.0/lium/cli/ls/validation.py +0 -31
  100. voltagegpu_cli-1.1.0/lium/cli/plugin_example.py +0 -161
  101. voltagegpu_cli-1.1.0/lium/cli/plugin_helpers.py +0 -39
  102. voltagegpu_cli-1.1.0/lium/cli/plugins.py +0 -56
  103. voltagegpu_cli-1.1.0/lium/cli/port_forward/__init__.py +0 -5
  104. voltagegpu_cli-1.1.0/lium/cli/port_forward/command.py +0 -132
  105. voltagegpu_cli-1.1.0/lium/cli/ps/__init__.py +0 -5
  106. voltagegpu_cli-1.1.0/lium/cli/ps/actions.py +0 -24
  107. voltagegpu_cli-1.1.0/lium/cli/ps/command.py +0 -53
  108. voltagegpu_cli-1.1.0/lium/cli/ps/display.py +0 -147
  109. voltagegpu_cli-1.1.0/lium/cli/reboot/__init__.py +0 -5
  110. voltagegpu_cli-1.1.0/lium/cli/reboot/actions.py +0 -29
  111. voltagegpu_cli-1.1.0/lium/cli/reboot/command.py +0 -53
  112. voltagegpu_cli-1.1.0/lium/cli/reboot/parsing.py +0 -29
  113. voltagegpu_cli-1.1.0/lium/cli/reboot/validation.py +0 -11
  114. voltagegpu_cli-1.1.0/lium/cli/rm/__init__.py +0 -5
  115. voltagegpu_cli-1.1.0/lium/cli/rm/actions.py +0 -50
  116. voltagegpu_cli-1.1.0/lium/cli/rm/command.py +0 -59
  117. voltagegpu_cli-1.1.0/lium/cli/rm/display.py +0 -113
  118. voltagegpu_cli-1.1.0/lium/cli/rm/parsing.py +0 -149
  119. voltagegpu_cli-1.1.0/lium/cli/rm/validation.py +0 -19
  120. voltagegpu_cli-1.1.0/lium/cli/rsync/__init__.py +0 -5
  121. voltagegpu_cli-1.1.0/lium/cli/rsync/actions.py +0 -49
  122. voltagegpu_cli-1.1.0/lium/cli/rsync/command.py +0 -59
  123. voltagegpu_cli-1.1.0/lium/cli/rsync/parsing.py +0 -34
  124. voltagegpu_cli-1.1.0/lium/cli/rsync/validation.py +0 -19
  125. voltagegpu_cli-1.1.0/lium/cli/schedules/__init__.py +0 -21
  126. voltagegpu_cli-1.1.0/lium/cli/schedules/display.py +0 -82
  127. voltagegpu_cli-1.1.0/lium/cli/schedules/list/command.py +0 -29
  128. voltagegpu_cli-1.1.0/lium/cli/schedules/rm/actions.py +0 -28
  129. voltagegpu_cli-1.1.0/lium/cli/schedules/rm/command.py +0 -49
  130. voltagegpu_cli-1.1.0/lium/cli/schedules/rm/parsing.py +0 -30
  131. voltagegpu_cli-1.1.0/lium/cli/schedules/rm/validation.py +0 -10
  132. voltagegpu_cli-1.1.0/lium/cli/scp/__init__.py +0 -5
  133. voltagegpu_cli-1.1.0/lium/cli/scp/actions.py +0 -46
  134. voltagegpu_cli-1.1.0/lium/cli/scp/command.py +0 -89
  135. voltagegpu_cli-1.1.0/lium/cli/scp/parsing.py +0 -73
  136. voltagegpu_cli-1.1.0/lium/cli/scp/validation.py +0 -19
  137. voltagegpu_cli-1.1.0/lium/cli/settings.py +0 -218
  138. voltagegpu_cli-1.1.0/lium/cli/ssh/__init__.py +0 -5
  139. voltagegpu_cli-1.1.0/lium/cli/ssh/actions.py +0 -37
  140. voltagegpu_cli-1.1.0/lium/cli/ssh/command.py +0 -105
  141. voltagegpu_cli-1.1.0/lium/cli/ssh/parsing.py +0 -26
  142. voltagegpu_cli-1.1.0/lium/cli/ssh/validation.py +0 -14
  143. voltagegpu_cli-1.1.0/lium/cli/templates/__init__.py +0 -5
  144. voltagegpu_cli-1.1.0/lium/cli/templates/actions.py +0 -19
  145. voltagegpu_cli-1.1.0/lium/cli/templates/command.py +0 -41
  146. voltagegpu_cli-1.1.0/lium/cli/templates/display.py +0 -47
  147. voltagegpu_cli-1.1.0/lium/cli/theme/__init__.py +0 -5
  148. voltagegpu_cli-1.1.0/lium/cli/theme/actions.py +0 -47
  149. voltagegpu_cli-1.1.0/lium/cli/theme/command.py +0 -23
  150. voltagegpu_cli-1.1.0/lium/cli/themed_console.py +0 -149
  151. voltagegpu_cli-1.1.0/lium/cli/themes.json +0 -26
  152. voltagegpu_cli-1.1.0/lium/cli/ui.py +0 -172
  153. voltagegpu_cli-1.1.0/lium/cli/up/__init__.py +0 -3
  154. voltagegpu_cli-1.1.0/lium/cli/up/actions.py +0 -308
  155. voltagegpu_cli-1.1.0/lium/cli/up/command.py +0 -300
  156. voltagegpu_cli-1.1.0/lium/cli/up/parsing.py +0 -162
  157. voltagegpu_cli-1.1.0/lium/cli/up/validation.py +0 -49
  158. voltagegpu_cli-1.1.0/lium/cli/update/__init__.py +0 -5
  159. voltagegpu_cli-1.1.0/lium/cli/update/actions.py +0 -44
  160. voltagegpu_cli-1.1.0/lium/cli/update/command.py +0 -66
  161. voltagegpu_cli-1.1.0/lium/cli/update/parsing.py +0 -23
  162. voltagegpu_cli-1.1.0/lium/cli/update/validation.py +0 -15
  163. voltagegpu_cli-1.1.0/lium/cli/utils.py +0 -769
  164. voltagegpu_cli-1.1.0/lium/cli/volumes/__init__.py +0 -22
  165. voltagegpu_cli-1.1.0/lium/cli/volumes/display.py +0 -66
  166. voltagegpu_cli-1.1.0/lium/cli/volumes/list/actions.py +0 -16
  167. voltagegpu_cli-1.1.0/lium/cli/volumes/list/command.py +0 -40
  168. voltagegpu_cli-1.1.0/lium/cli/volumes/new/actions.py +0 -18
  169. voltagegpu_cli-1.1.0/lium/cli/volumes/new/command.py +0 -27
  170. voltagegpu_cli-1.1.0/lium/cli/volumes/rm/actions.py +0 -27
  171. voltagegpu_cli-1.1.0/lium/cli/volumes/rm/command.py +0 -58
  172. voltagegpu_cli-1.1.0/lium/cli/volumes/rm/parsing.py +0 -17
  173. voltagegpu_cli-1.1.0/lium/cli/volumes/rm/validation.py +0 -7
  174. voltagegpu_cli-1.1.0/lium/sdk/__init__.py +0 -37
  175. voltagegpu_cli-1.1.0/lium/sdk/client.py +0 -1408
  176. voltagegpu_cli-1.1.0/lium/sdk/config.py +0 -58
  177. voltagegpu_cli-1.1.0/lium/sdk/decorators.py +0 -200
  178. voltagegpu_cli-1.1.0/lium/sdk/exceptions.py +0 -29
  179. voltagegpu_cli-1.1.0/lium/sdk/models.py +0 -132
  180. voltagegpu_cli-1.1.0/lium/sdk/utils.py +0 -94
  181. voltagegpu_cli-1.1.0/test/Dockerfile +0 -19
  182. voltagegpu_cli-1.1.0/volt/__init__.py +0 -6
  183. voltagegpu_cli-1.1.0/volt/cli/actions.py +0 -11
  184. voltagegpu_cli-1.1.0/volt/cli/bk/__init__.py +0 -26
  185. voltagegpu_cli-1.1.0/volt/cli/bk/logs/actions.py +0 -38
  186. voltagegpu_cli-1.1.0/volt/cli/bk/logs/command.py +0 -80
  187. voltagegpu_cli-1.1.0/volt/cli/bk/logs/display.py +0 -72
  188. voltagegpu_cli-1.1.0/volt/cli/bk/logs/parsing.py +0 -23
  189. voltagegpu_cli-1.1.0/volt/cli/bk/logs/validation.py +0 -9
  190. voltagegpu_cli-1.1.0/volt/cli/bk/now/actions.py +0 -31
  191. voltagegpu_cli-1.1.0/volt/cli/bk/now/command.py +0 -61
  192. voltagegpu_cli-1.1.0/volt/cli/bk/now/parsing.py +0 -39
  193. voltagegpu_cli-1.1.0/volt/cli/bk/now/validation.py +0 -9
  194. voltagegpu_cli-1.1.0/volt/cli/bk/restore/actions.py +0 -20
  195. voltagegpu_cli-1.1.0/volt/cli/bk/restore/command.py +0 -61
  196. voltagegpu_cli-1.1.0/volt/cli/bk/restore/parsing.py +0 -20
  197. voltagegpu_cli-1.1.0/volt/cli/bk/restore/validation.py +0 -12
  198. voltagegpu_cli-1.1.0/volt/cli/bk/rm/actions.py +0 -23
  199. voltagegpu_cli-1.1.0/volt/cli/bk/rm/command.py +0 -67
  200. voltagegpu_cli-1.1.0/volt/cli/bk/rm/parsing.py +0 -20
  201. voltagegpu_cli-1.1.0/volt/cli/bk/rm/validation.py +0 -9
  202. voltagegpu_cli-1.1.0/volt/cli/bk/set/actions.py +0 -33
  203. voltagegpu_cli-1.1.0/volt/cli/bk/set/command.py +0 -74
  204. voltagegpu_cli-1.1.0/volt/cli/bk/set/parsing.py +0 -50
  205. voltagegpu_cli-1.1.0/volt/cli/bk/set/validation.py +0 -21
  206. voltagegpu_cli-1.1.0/volt/cli/bk/show/actions.py +0 -58
  207. voltagegpu_cli-1.1.0/volt/cli/bk/show/command.py +0 -80
  208. voltagegpu_cli-1.1.0/volt/cli/bk/show/parsing.py +0 -20
  209. voltagegpu_cli-1.1.0/volt/cli/bk/show/validation.py +0 -9
  210. voltagegpu_cli-1.1.0/volt/cli/cli.py +0 -417
  211. voltagegpu_cli-1.1.0/volt/cli/commands/__init__.py +0 -1
  212. voltagegpu_cli-1.1.0/volt/cli/commands/exec.py +0 -129
  213. voltagegpu_cli-1.1.0/volt/cli/commands/mine.py +0 -443
  214. voltagegpu_cli-1.1.0/volt/cli/completion.py +0 -71
  215. voltagegpu_cli-1.1.0/volt/cli/config/__init__.py +0 -28
  216. voltagegpu_cli-1.1.0/volt/cli/config/edit/actions.py +0 -23
  217. voltagegpu_cli-1.1.0/volt/cli/config/edit/command.py +0 -22
  218. voltagegpu_cli-1.1.0/volt/cli/config/get/actions.py +0 -17
  219. voltagegpu_cli-1.1.0/volt/cli/config/get/command.py +0 -42
  220. voltagegpu_cli-1.1.0/volt/cli/config/get/validation.py +0 -9
  221. voltagegpu_cli-1.1.0/volt/cli/config/path/actions.py +0 -12
  222. voltagegpu_cli-1.1.0/volt/cli/config/path/command.py +0 -22
  223. voltagegpu_cli-1.1.0/volt/cli/config/reset/actions.py +0 -17
  224. voltagegpu_cli-1.1.0/volt/cli/config/reset/command.py +0 -28
  225. voltagegpu_cli-1.1.0/volt/cli/config/set/actions.py +0 -20
  226. voltagegpu_cli-1.1.0/volt/cli/config/set/command.py +0 -40
  227. voltagegpu_cli-1.1.0/volt/cli/config/set/validation.py +0 -9
  228. voltagegpu_cli-1.1.0/volt/cli/config/show/actions.py +0 -23
  229. voltagegpu_cli-1.1.0/volt/cli/config/show/command.py +0 -26
  230. voltagegpu_cli-1.1.0/volt/cli/config/unset/actions.py +0 -17
  231. voltagegpu_cli-1.1.0/volt/cli/config/unset/command.py +0 -23
  232. voltagegpu_cli-1.1.0/volt/cli/fund/__init__.py +0 -5
  233. voltagegpu_cli-1.1.0/volt/cli/fund/actions.py +0 -141
  234. voltagegpu_cli-1.1.0/volt/cli/fund/command.py +0 -113
  235. voltagegpu_cli-1.1.0/volt/cli/fund/validation.py +0 -16
  236. voltagegpu_cli-1.1.0/volt/cli/init/__init__.py +0 -5
  237. voltagegpu_cli-1.1.0/volt/cli/init/actions.py +0 -56
  238. voltagegpu_cli-1.1.0/volt/cli/init/auth.py +0 -62
  239. voltagegpu_cli-1.1.0/volt/cli/init/command.py +0 -35
  240. voltagegpu_cli-1.1.0/volt/cli/logs/__init__.py +0 -5
  241. voltagegpu_cli-1.1.0/volt/cli/logs/actions.py +0 -39
  242. voltagegpu_cli-1.1.0/volt/cli/logs/command.py +0 -66
  243. voltagegpu_cli-1.1.0/volt/cli/logs/parsing.py +0 -25
  244. voltagegpu_cli-1.1.0/volt/cli/logs/validation.py +0 -15
  245. voltagegpu_cli-1.1.0/volt/cli/ls/__init__.py +0 -5
  246. voltagegpu_cli-1.1.0/volt/cli/ls/actions.py +0 -33
  247. voltagegpu_cli-1.1.0/volt/cli/ls/command.py +0 -112
  248. voltagegpu_cli-1.1.0/volt/cli/ls/display.py +0 -222
  249. voltagegpu_cli-1.1.0/volt/cli/ls/validation.py +0 -31
  250. voltagegpu_cli-1.1.0/volt/cli/main.py +0 -786
  251. voltagegpu_cli-1.1.0/volt/cli/plugin_example.py +0 -161
  252. voltagegpu_cli-1.1.0/volt/cli/plugin_helpers.py +0 -39
  253. voltagegpu_cli-1.1.0/volt/cli/plugins.py +0 -56
  254. voltagegpu_cli-1.1.0/volt/cli/port_forward/__init__.py +0 -5
  255. voltagegpu_cli-1.1.0/volt/cli/port_forward/command.py +0 -132
  256. voltagegpu_cli-1.1.0/volt/cli/ps/__init__.py +0 -5
  257. voltagegpu_cli-1.1.0/volt/cli/ps/actions.py +0 -24
  258. voltagegpu_cli-1.1.0/volt/cli/ps/command.py +0 -53
  259. voltagegpu_cli-1.1.0/volt/cli/ps/display.py +0 -147
  260. voltagegpu_cli-1.1.0/volt/cli/reboot/__init__.py +0 -5
  261. voltagegpu_cli-1.1.0/volt/cli/reboot/actions.py +0 -29
  262. voltagegpu_cli-1.1.0/volt/cli/reboot/command.py +0 -53
  263. voltagegpu_cli-1.1.0/volt/cli/reboot/parsing.py +0 -29
  264. voltagegpu_cli-1.1.0/volt/cli/reboot/validation.py +0 -11
  265. voltagegpu_cli-1.1.0/volt/cli/rm/__init__.py +0 -5
  266. voltagegpu_cli-1.1.0/volt/cli/rm/actions.py +0 -50
  267. voltagegpu_cli-1.1.0/volt/cli/rm/command.py +0 -59
  268. voltagegpu_cli-1.1.0/volt/cli/rm/display.py +0 -113
  269. voltagegpu_cli-1.1.0/volt/cli/rm/parsing.py +0 -149
  270. voltagegpu_cli-1.1.0/volt/cli/rm/validation.py +0 -19
  271. voltagegpu_cli-1.1.0/volt/cli/rsync/__init__.py +0 -5
  272. voltagegpu_cli-1.1.0/volt/cli/rsync/actions.py +0 -49
  273. voltagegpu_cli-1.1.0/volt/cli/rsync/command.py +0 -59
  274. voltagegpu_cli-1.1.0/volt/cli/rsync/parsing.py +0 -34
  275. voltagegpu_cli-1.1.0/volt/cli/rsync/validation.py +0 -19
  276. voltagegpu_cli-1.1.0/volt/cli/schedules/__init__.py +0 -21
  277. voltagegpu_cli-1.1.0/volt/cli/schedules/display.py +0 -82
  278. voltagegpu_cli-1.1.0/volt/cli/schedules/list/command.py +0 -29
  279. voltagegpu_cli-1.1.0/volt/cli/schedules/rm/actions.py +0 -28
  280. voltagegpu_cli-1.1.0/volt/cli/schedules/rm/command.py +0 -49
  281. voltagegpu_cli-1.1.0/volt/cli/schedules/rm/parsing.py +0 -30
  282. voltagegpu_cli-1.1.0/volt/cli/schedules/rm/validation.py +0 -10
  283. voltagegpu_cli-1.1.0/volt/cli/scp/__init__.py +0 -5
  284. voltagegpu_cli-1.1.0/volt/cli/scp/actions.py +0 -46
  285. voltagegpu_cli-1.1.0/volt/cli/scp/command.py +0 -89
  286. voltagegpu_cli-1.1.0/volt/cli/scp/parsing.py +0 -73
  287. voltagegpu_cli-1.1.0/volt/cli/scp/validation.py +0 -19
  288. voltagegpu_cli-1.1.0/volt/cli/settings.py +0 -218
  289. voltagegpu_cli-1.1.0/volt/cli/ssh/__init__.py +0 -5
  290. voltagegpu_cli-1.1.0/volt/cli/ssh/actions.py +0 -37
  291. voltagegpu_cli-1.1.0/volt/cli/ssh/command.py +0 -105
  292. voltagegpu_cli-1.1.0/volt/cli/ssh/parsing.py +0 -26
  293. voltagegpu_cli-1.1.0/volt/cli/ssh/validation.py +0 -14
  294. voltagegpu_cli-1.1.0/volt/cli/templates/__init__.py +0 -5
  295. voltagegpu_cli-1.1.0/volt/cli/templates/actions.py +0 -19
  296. voltagegpu_cli-1.1.0/volt/cli/templates/command.py +0 -41
  297. voltagegpu_cli-1.1.0/volt/cli/templates/display.py +0 -47
  298. voltagegpu_cli-1.1.0/volt/cli/theme/__init__.py +0 -5
  299. voltagegpu_cli-1.1.0/volt/cli/theme/actions.py +0 -47
  300. voltagegpu_cli-1.1.0/volt/cli/theme/command.py +0 -23
  301. voltagegpu_cli-1.1.0/volt/cli/themed_console.py +0 -149
  302. voltagegpu_cli-1.1.0/volt/cli/themes.json +0 -26
  303. voltagegpu_cli-1.1.0/volt/cli/ui.py +0 -172
  304. voltagegpu_cli-1.1.0/volt/cli/up/__init__.py +0 -3
  305. voltagegpu_cli-1.1.0/volt/cli/up/actions.py +0 -308
  306. voltagegpu_cli-1.1.0/volt/cli/up/command.py +0 -300
  307. voltagegpu_cli-1.1.0/volt/cli/up/parsing.py +0 -162
  308. voltagegpu_cli-1.1.0/volt/cli/up/validation.py +0 -49
  309. voltagegpu_cli-1.1.0/volt/cli/update/__init__.py +0 -5
  310. voltagegpu_cli-1.1.0/volt/cli/update/actions.py +0 -44
  311. voltagegpu_cli-1.1.0/volt/cli/update/command.py +0 -66
  312. voltagegpu_cli-1.1.0/volt/cli/update/parsing.py +0 -23
  313. voltagegpu_cli-1.1.0/volt/cli/update/validation.py +0 -15
  314. voltagegpu_cli-1.1.0/volt/cli/utils.py +0 -769
  315. voltagegpu_cli-1.1.0/volt/cli/volumes/__init__.py +0 -22
  316. voltagegpu_cli-1.1.0/volt/cli/volumes/display.py +0 -66
  317. voltagegpu_cli-1.1.0/volt/cli/volumes/list/actions.py +0 -16
  318. voltagegpu_cli-1.1.0/volt/cli/volumes/list/command.py +0 -40
  319. voltagegpu_cli-1.1.0/volt/cli/volumes/new/actions.py +0 -18
  320. voltagegpu_cli-1.1.0/volt/cli/volumes/new/command.py +0 -27
  321. voltagegpu_cli-1.1.0/volt/cli/volumes/rm/actions.py +0 -27
  322. voltagegpu_cli-1.1.0/volt/cli/volumes/rm/command.py +0 -58
  323. voltagegpu_cli-1.1.0/volt/cli/volumes/rm/parsing.py +0 -17
  324. voltagegpu_cli-1.1.0/volt/cli/volumes/rm/validation.py +0 -7
  325. voltagegpu_cli-1.1.0/volt/sdk/__init__.py +0 -7
  326. voltagegpu_cli-1.1.0/volt/sdk/client.py +0 -382
  327. voltagegpu_cli-1.1.0/volt/sdk/config.py +0 -62
  328. voltagegpu_cli-1.1.0/volt/sdk/decorators.py +0 -200
  329. voltagegpu_cli-1.1.0/volt/sdk/exceptions.py +0 -29
  330. voltagegpu_cli-1.1.0/volt/sdk/models.py +0 -132
  331. voltagegpu_cli-1.1.0/volt/sdk/utils.py +0 -94
  332. {voltagegpu_cli-1.1.0 → voltagegpu_cli-1.2.1}/.github/workflows/release.yml +0 -0
  333. {voltagegpu_cli-1.1.0 → voltagegpu_cli-1.2.1}/.gitignore +0 -0
  334. {voltagegpu_cli-1.1.0 → voltagegpu_cli-1.2.1}/.readthedocs.yaml +0 -0
  335. {voltagegpu_cli-1.1.0 → voltagegpu_cli-1.2.1}/LICENSE +0 -0
  336. {voltagegpu_cli-1.1.0 → voltagegpu_cli-1.2.1}/assets/web-app-logo.png +0 -0
  337. {voltagegpu_cli-1.1.0 → voltagegpu_cli-1.2.1}/volt/cli/__init__.py +0 -0
@@ -0,0 +1,105 @@
1
+ # Changelog
2
+
3
+ All notable changes to `voltagegpu-cli` are documented here.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.2.1] — 2026-04-11
9
+
10
+ Restores first-class access to the curated Confidential Compute template
11
+ catalog and the machines endpoint. 1.2.0 dropped them over-eagerly — the
12
+ upstream provider (Targon) ships ~20 public templates (Jupyter, Ubuntu,
13
+ DeepSeek-R1, GLM-4.6, Kimi-K2, Qwen3-Coder, MiniMax, GPT-OSS, etc.) and
14
+ this release lets the CLI surface them natively.
15
+
16
+ ### Added
17
+ - `volt templates list [--type RENTAL|SERVERLESS|ALL] [--json]` — list
18
+ public Targon Confidential Compute templates.
19
+ - `volt templates get <uid>` — show the full template manifest (image,
20
+ resource_name, commands, args, ports).
21
+ - `volt machines list [--json]` — list available Confidential GPU
22
+ machine tiers with live pricing (includes the 1.50x markup).
23
+ - `volt cc deploy --template <uid>` — deploy straight from a curated
24
+ template. `--resource` / `--image` become optional and override the
25
+ template manifest when supplied.
26
+ - Python SDK:
27
+ - `VoltageGPUClient.list_templates()` / `get_template(uid)`
28
+ - `VoltageGPUClient.list_machines()`
29
+ - `VoltageGPUClient.create_confidential_pod(template_uid=…)`
30
+ - New `Template` and `Machine` dataclasses exported from `volt.sdk`.
31
+
32
+ ### Changed
33
+ - `VoltageGPUClient.create_confidential_pod()` now accepts an optional
34
+ `template_uid`. When provided, `resource_name` and `image` become
35
+ optional and are inherited from the template manifest. Explicit
36
+ parameters still win to allow selective overrides.
37
+ - REST: `POST /api/volt/pods` now accepts an optional `template_uid`
38
+ alongside `provider: "targon"`. Template resolution is server-side
39
+ against the Targon `/tha/v2/templates` catalog.
40
+ - REST: `GET /api/volt/templates` and `GET /api/volt/templates/:uid`
41
+ now proxy the Targon catalog (public, curated, read-only). `POST` /
42
+ `PUT` / `DELETE` on these endpoints return 405.
43
+ - REST: `GET /api/volt/machines` now returns Confidential-only items
44
+ (Intel TDX / TVM-backed). Non-TDX tiers (RTX 4090) are excluded.
45
+ - REST: `GET /api/volt/pods` no longer merges in legacy Lium pods.
46
+
47
+ ### Fixed
48
+ - Pod name is now sanitised server-side to Targon's
49
+ `^[a-z0-9-]+$` pattern. Previously `volt cc deploy --name My Pod`
50
+ would reach the upstream unsanitised and 400 on create.
51
+
52
+ ## [1.2.0] — 2026-04-11
53
+
54
+ This release realigns the CLI with the VoltageGPU product: **Confidential
55
+ Compute only**. Legacy GPU-cloud commands that were never wired up to the
56
+ published entry point have been removed and replaced with a first-class `cc`
57
+ command group backed by the public `/volt/pods` API.
58
+
59
+ ### Added
60
+ - `volt cc inventory` — list available Confidential Compute GPU tiers with
61
+ prices and availability.
62
+ - `volt cc deploy` — deploy a hardware-attested Intel TDX pod via
63
+ `POST /volt/pods` with `provider: "targon"`.
64
+ - `volt pods ssh` now prefers the server-provided `ssh_command` when present.
65
+ - `volt config` shows the effective SDK configuration with the API key masked.
66
+ - JSON output (`--json`) on every list command.
67
+ - `VoltageGPUClient.create_confidential_pod()` and
68
+ `VoltageGPUClient.list_confidential_inventory()` in the Python SDK.
69
+
70
+ ### Changed
71
+ - **BREAKING:** default API base URL is now
72
+ `https://api.voltagegpu.com/api` (was `https://voltagegpu.com/api`).
73
+ - **BREAKING:** `VoltageGPUClient.create_confidential_pod()` now calls
74
+ `POST /volt/pods` with `provider: "targon"`. The previous implementation
75
+ hit the internal `/targon/deploy` proxy, which is session-authenticated
76
+ and never worked with an `X-API-Key`.
77
+ - CLI user-agent updated to `VoltageGPU-CLI/1.2.0`.
78
+ - The package now ships a single CLI module (`volt/cli/cli.py`). The unused
79
+ `volt/cli/main.py` entry has been removed.
80
+
81
+ ### Removed
82
+ - **BREAKING:** `volt pods create --template …` and related template commands
83
+ (`volt templates list/get`). Pods are now deployed via `volt cc deploy`.
84
+ - **BREAKING:** `volt pods start` — the Confidential Compute provider does
85
+ not support restarting a stopped pod. Use `volt cc deploy` to launch a
86
+ fresh one.
87
+ - **BREAKING:** `volt machines list` — superseded by `volt cc inventory`.
88
+ - **BREAKING:** `volt finetune …` command group. Fine-tuning is not part of
89
+ the current VoltageGPU product.
90
+ - **BREAKING:** SDK helpers `create_pod`, `start_pod`, `list_templates`,
91
+ `get_template`, `list_machines`, and every `*_finetune_*` method.
92
+ - Dead SDK modules (`models.py`, `decorators.py`, `exceptions.py`,
93
+ `utils.py`) that were carried over from an older fork.
94
+ - `LIUM_API_KEY` / `LIUM_BASE_URL` fallbacks and the bundled legacy fork.
95
+
96
+ ### Fixed
97
+ - The `cc` command group was previously defined in an orphaned file that the
98
+ published entry point never imported. `volt cc …` now actually works when
99
+ installed from PyPI.
100
+
101
+ ## [1.1.0] — Previous release
102
+
103
+ Legacy build. Shipped an `X-API-Key` SDK and assorted template-based pod
104
+ commands; the `cc` command group was present in the source tree but not
105
+ wired up to the published `volt` entry point.
@@ -0,0 +1,244 @@
1
+ Metadata-Version: 2.4
2
+ Name: voltagegpu-cli
3
+ Version: 1.2.1
4
+ Summary: VoltageGPU CLI — Deploy and manage Confidential Compute (Intel TDX) GPU pods from the command line.
5
+ Project-URL: Homepage, https://voltagegpu.com
6
+ Project-URL: Documentation, https://docs.voltagegpu.com
7
+ Project-URL: Repository, https://github.com/voltagegpu/voltagegpu-cli
8
+ Project-URL: Issues, https://github.com/voltagegpu/voltagegpu-cli/issues
9
+ Author-email: VoltageGPU <support@voltagegpu.com>
10
+ License-File: LICENSE
11
+ Keywords: ai,attestation,cli,cloud,confidential-compute,gpu,intel-tdx,tee,trusted-execution,voltagegpu
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
+ Classifier: Topic :: Security
24
+ Classifier: Topic :: System :: Distributed Computing
25
+ Requires-Python: >=3.9
26
+ Requires-Dist: click>=8.0
27
+ Requires-Dist: httpx>=0.24.0
28
+ Requires-Dist: rich>=13.0
29
+ Provides-Extra: dev
30
+ Requires-Dist: black; extra == 'dev'
31
+ Requires-Dist: build; extra == 'dev'
32
+ Requires-Dist: pytest; extra == 'dev'
33
+ Requires-Dist: ruff; extra == 'dev'
34
+ Requires-Dist: twine; extra == 'dev'
35
+ Requires-Dist: wheel; extra == 'dev'
36
+ Description-Content-Type: text/markdown
37
+
38
+ # VoltageGPU CLI
39
+
40
+ **Confidential AI Infrastructure from the command line.**
41
+
42
+ `voltagegpu-cli` lets you deploy and manage **Confidential Compute** GPU pods on
43
+ [VoltageGPU](https://voltagegpu.com) — hardware-attested Intel TDX environments
44
+ with AES memory encryption and Protected PCIe, built for regulated workloads
45
+ that cannot trust the host.
46
+
47
+ ## Install
48
+
49
+ ```bash
50
+ pip install voltagegpu-cli
51
+ ```
52
+
53
+ Or from source:
54
+
55
+ ```bash
56
+ git clone https://github.com/voltagegpu/voltagegpu-cli.git
57
+ cd voltagegpu-cli
58
+ pip install -e .
59
+ ```
60
+
61
+ ## Configure
62
+
63
+ Get an API key from [voltagegpu.com](https://voltagegpu.com) and set it:
64
+
65
+ ```bash
66
+ export VOLT_API_KEY="your_api_key_here"
67
+ ```
68
+
69
+ Or create `~/.volt/config.ini`:
70
+
71
+ ```ini
72
+ [api]
73
+ api_key = your_api_key_here
74
+ ```
75
+
76
+ ## Quick start
77
+
78
+ ```bash
79
+ # Browse available Confidential Compute GPU tiers
80
+ volt cc inventory
81
+
82
+ # Register your SSH public key
83
+ volt ssh-keys add --name laptop --file ~/.ssh/id_ed25519.pub
84
+
85
+ # Deploy a hardware-attested pod
86
+ volt cc deploy --name my-pod --resource h200-small --image ubuntu:22.04
87
+
88
+ # List running pods
89
+ volt pods list
90
+
91
+ # Print the SSH command
92
+ volt pods ssh <pod_id>
93
+
94
+ # Stop or delete
95
+ volt pods stop <pod_id>
96
+ volt pods delete <pod_id>
97
+ ```
98
+
99
+ ## Commands
100
+
101
+ ### Confidential Compute
102
+
103
+ ```bash
104
+ # List available GPU tiers with live pricing and availability.
105
+ volt cc inventory
106
+
107
+ # Option A — deploy from scratch with an explicit image + resource.
108
+ volt cc deploy --name NAME \
109
+ --resource TIER \
110
+ --image ubuntu:22.04 \
111
+ [--ssh-key <uid>]
112
+
113
+ # Option B — deploy from a curated template (image + resource come
114
+ # from the template manifest; you can still override either).
115
+ volt cc deploy --name NAME --template <tpl-uid>
116
+ ```
117
+
118
+ ### Templates
119
+
120
+ ```bash
121
+ # List curated templates (Jupyter, DeepSeek, GLM, Kimi, Qwen3, …).
122
+ volt templates list [--type RENTAL|SERVERLESS|ALL] [--json]
123
+
124
+ # Show the full manifest for a single template.
125
+ volt templates get <tpl-uid>
126
+ ```
127
+
128
+ ### Machines
129
+
130
+ ```bash
131
+ # List Confidential GPU machine tiers with live pricing.
132
+ volt machines list [--json]
133
+ ```
134
+
135
+ ### Pods
136
+
137
+ ```bash
138
+ volt pods list [--json]
139
+ volt pods get <pod_id>
140
+ volt pods ssh <pod_id>
141
+ volt pods stop <pod_id>
142
+ volt pods delete <pod_id> [--yes]
143
+ ```
144
+
145
+ ### SSH keys
146
+
147
+ ```bash
148
+ volt ssh-keys list [--json]
149
+ volt ssh-keys add --name LABEL (--file PATH | --key "ssh-ed25519 AAAA…")
150
+ volt ssh-keys delete <key_id> [--yes]
151
+ ```
152
+
153
+ ### Account
154
+
155
+ ```bash
156
+ volt account balance
157
+ volt account info
158
+ volt config # show current SDK config (masked)
159
+ ```
160
+
161
+ All list commands support `--json` for machine-readable output.
162
+
163
+ ## Python SDK
164
+
165
+ ```python
166
+ from volt import VoltageGPUClient
167
+
168
+ with VoltageGPUClient() as client:
169
+ # Browse inventory
170
+ for item in client.list_confidential_inventory():
171
+ print(item["display_name"], item["final_price_per_hour"])
172
+
173
+ # Browse templates (Jupyter, DeepSeek-R1, GLM-4.6, Kimi, Qwen3-Coder…)
174
+ for tpl in client.list_templates():
175
+ print(tpl.uid, tpl.name, tpl.resource_name)
176
+
177
+ # Deploy a pod — either from an explicit image/resource…
178
+ result = client.create_confidential_pod(
179
+ name="training-run",
180
+ resource_name="h200-small",
181
+ image="ubuntu:22.04",
182
+ )
183
+ # …or from a curated template uid.
184
+ result = client.create_confidential_pod(
185
+ name="deepseek-infer",
186
+ template_uid="tpl-5npuuq70m1uo", # DeepSeek-R1 (8x H200)
187
+ )
188
+ pod = result["pod"]
189
+ print(f"Deployed {pod['targonUid']} — {pod['ssh_command']}")
190
+
191
+ # List, stop, delete
192
+ for pod in client.list_pods():
193
+ print(pod.name, pod.status, pod.hourly_price)
194
+
195
+ client.stop_pod(pod.id)
196
+ client.delete_pod(pod.id)
197
+ ```
198
+
199
+ ### Custom configuration
200
+
201
+ ```python
202
+ from volt.sdk import Config, VoltageGPUClient
203
+
204
+ client = VoltageGPUClient(
205
+ config=Config(
206
+ api_key="your_api_key",
207
+ base_url="https://api.voltagegpu.com/api",
208
+ )
209
+ )
210
+ ```
211
+
212
+ ## Environment variables
213
+
214
+ | Variable | Description | Default |
215
+ |------------------|-----------------------------|--------------------------------------|
216
+ | `VOLT_API_KEY` | Your VoltageGPU API key | — |
217
+ | `VOLT_BASE_URL` | API base URL | `https://api.voltagegpu.com/api` |
218
+
219
+ ## Examples
220
+
221
+ ### Stop every running pod
222
+
223
+ ```bash
224
+ volt pods list --json | \
225
+ jq -r '.[] | select(.status == "RUNNING") | .id' | \
226
+ xargs -I {} volt pods stop {}
227
+ ```
228
+
229
+ ### Pick the cheapest H200 tier
230
+
231
+ ```bash
232
+ volt cc inventory --json | \
233
+ jq 'map(select(.display_name | test("H200"))) | sort_by(.final_price_per_hour)[0]'
234
+ ```
235
+
236
+ ## Support
237
+
238
+ - Website: https://voltagegpu.com
239
+ - Docs: https://docs.voltagegpu.com
240
+ - Email: support@voltagegpu.com
241
+
242
+ ## License
243
+
244
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,207 @@
1
+ # VoltageGPU CLI
2
+
3
+ **Confidential AI Infrastructure from the command line.**
4
+
5
+ `voltagegpu-cli` lets you deploy and manage **Confidential Compute** GPU pods on
6
+ [VoltageGPU](https://voltagegpu.com) — hardware-attested Intel TDX environments
7
+ with AES memory encryption and Protected PCIe, built for regulated workloads
8
+ that cannot trust the host.
9
+
10
+ ## Install
11
+
12
+ ```bash
13
+ pip install voltagegpu-cli
14
+ ```
15
+
16
+ Or from source:
17
+
18
+ ```bash
19
+ git clone https://github.com/voltagegpu/voltagegpu-cli.git
20
+ cd voltagegpu-cli
21
+ pip install -e .
22
+ ```
23
+
24
+ ## Configure
25
+
26
+ Get an API key from [voltagegpu.com](https://voltagegpu.com) and set it:
27
+
28
+ ```bash
29
+ export VOLT_API_KEY="your_api_key_here"
30
+ ```
31
+
32
+ Or create `~/.volt/config.ini`:
33
+
34
+ ```ini
35
+ [api]
36
+ api_key = your_api_key_here
37
+ ```
38
+
39
+ ## Quick start
40
+
41
+ ```bash
42
+ # Browse available Confidential Compute GPU tiers
43
+ volt cc inventory
44
+
45
+ # Register your SSH public key
46
+ volt ssh-keys add --name laptop --file ~/.ssh/id_ed25519.pub
47
+
48
+ # Deploy a hardware-attested pod
49
+ volt cc deploy --name my-pod --resource h200-small --image ubuntu:22.04
50
+
51
+ # List running pods
52
+ volt pods list
53
+
54
+ # Print the SSH command
55
+ volt pods ssh <pod_id>
56
+
57
+ # Stop or delete
58
+ volt pods stop <pod_id>
59
+ volt pods delete <pod_id>
60
+ ```
61
+
62
+ ## Commands
63
+
64
+ ### Confidential Compute
65
+
66
+ ```bash
67
+ # List available GPU tiers with live pricing and availability.
68
+ volt cc inventory
69
+
70
+ # Option A — deploy from scratch with an explicit image + resource.
71
+ volt cc deploy --name NAME \
72
+ --resource TIER \
73
+ --image ubuntu:22.04 \
74
+ [--ssh-key <uid>]
75
+
76
+ # Option B — deploy from a curated template (image + resource come
77
+ # from the template manifest; you can still override either).
78
+ volt cc deploy --name NAME --template <tpl-uid>
79
+ ```
80
+
81
+ ### Templates
82
+
83
+ ```bash
84
+ # List curated templates (Jupyter, DeepSeek, GLM, Kimi, Qwen3, …).
85
+ volt templates list [--type RENTAL|SERVERLESS|ALL] [--json]
86
+
87
+ # Show the full manifest for a single template.
88
+ volt templates get <tpl-uid>
89
+ ```
90
+
91
+ ### Machines
92
+
93
+ ```bash
94
+ # List Confidential GPU machine tiers with live pricing.
95
+ volt machines list [--json]
96
+ ```
97
+
98
+ ### Pods
99
+
100
+ ```bash
101
+ volt pods list [--json]
102
+ volt pods get <pod_id>
103
+ volt pods ssh <pod_id>
104
+ volt pods stop <pod_id>
105
+ volt pods delete <pod_id> [--yes]
106
+ ```
107
+
108
+ ### SSH keys
109
+
110
+ ```bash
111
+ volt ssh-keys list [--json]
112
+ volt ssh-keys add --name LABEL (--file PATH | --key "ssh-ed25519 AAAA…")
113
+ volt ssh-keys delete <key_id> [--yes]
114
+ ```
115
+
116
+ ### Account
117
+
118
+ ```bash
119
+ volt account balance
120
+ volt account info
121
+ volt config # show current SDK config (masked)
122
+ ```
123
+
124
+ All list commands support `--json` for machine-readable output.
125
+
126
+ ## Python SDK
127
+
128
+ ```python
129
+ from volt import VoltageGPUClient
130
+
131
+ with VoltageGPUClient() as client:
132
+ # Browse inventory
133
+ for item in client.list_confidential_inventory():
134
+ print(item["display_name"], item["final_price_per_hour"])
135
+
136
+ # Browse templates (Jupyter, DeepSeek-R1, GLM-4.6, Kimi, Qwen3-Coder…)
137
+ for tpl in client.list_templates():
138
+ print(tpl.uid, tpl.name, tpl.resource_name)
139
+
140
+ # Deploy a pod — either from an explicit image/resource…
141
+ result = client.create_confidential_pod(
142
+ name="training-run",
143
+ resource_name="h200-small",
144
+ image="ubuntu:22.04",
145
+ )
146
+ # …or from a curated template uid.
147
+ result = client.create_confidential_pod(
148
+ name="deepseek-infer",
149
+ template_uid="tpl-5npuuq70m1uo", # DeepSeek-R1 (8x H200)
150
+ )
151
+ pod = result["pod"]
152
+ print(f"Deployed {pod['targonUid']} — {pod['ssh_command']}")
153
+
154
+ # List, stop, delete
155
+ for pod in client.list_pods():
156
+ print(pod.name, pod.status, pod.hourly_price)
157
+
158
+ client.stop_pod(pod.id)
159
+ client.delete_pod(pod.id)
160
+ ```
161
+
162
+ ### Custom configuration
163
+
164
+ ```python
165
+ from volt.sdk import Config, VoltageGPUClient
166
+
167
+ client = VoltageGPUClient(
168
+ config=Config(
169
+ api_key="your_api_key",
170
+ base_url="https://api.voltagegpu.com/api",
171
+ )
172
+ )
173
+ ```
174
+
175
+ ## Environment variables
176
+
177
+ | Variable | Description | Default |
178
+ |------------------|-----------------------------|--------------------------------------|
179
+ | `VOLT_API_KEY` | Your VoltageGPU API key | — |
180
+ | `VOLT_BASE_URL` | API base URL | `https://api.voltagegpu.com/api` |
181
+
182
+ ## Examples
183
+
184
+ ### Stop every running pod
185
+
186
+ ```bash
187
+ volt pods list --json | \
188
+ jq -r '.[] | select(.status == "RUNNING") | .id' | \
189
+ xargs -I {} volt pods stop {}
190
+ ```
191
+
192
+ ### Pick the cheapest H200 tier
193
+
194
+ ```bash
195
+ volt cc inventory --json | \
196
+ jq 'map(select(.display_name | test("H200"))) | sort_by(.final_price_per_hour)[0]'
197
+ ```
198
+
199
+ ## Support
200
+
201
+ - Website: https://voltagegpu.com
202
+ - Docs: https://docs.voltagegpu.com
203
+ - Email: support@voltagegpu.com
204
+
205
+ ## License
206
+
207
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,60 @@
1
+ #!/usr/bin/env python3
2
+ """Deploy a Confidential Compute pod via the VoltageGPU Python SDK.
3
+
4
+ Requires VOLT_API_KEY in the environment. Picks the cheapest available
5
+ H200 tier from the inventory and launches an Ubuntu 22.04 pod.
6
+ """
7
+
8
+ from __future__ import annotations
9
+
10
+ from volt import VoltageGPUClient
11
+
12
+
13
+ def pick_cheapest_h200(inventory: list[dict]) -> dict | None:
14
+ """Return the cheapest available tier whose display name mentions H200."""
15
+ candidates = [
16
+ item
17
+ for item in inventory
18
+ if "H200" in str(item.get("display_name", ""))
19
+ and int(item.get("available", 0)) > 0
20
+ ]
21
+ if not candidates:
22
+ return None
23
+ return min(candidates, key=lambda item: float(item.get("final_price_per_hour", 0)))
24
+
25
+
26
+ def main() -> int:
27
+ with VoltageGPUClient() as client:
28
+ inventory = client.list_confidential_inventory()
29
+ if not inventory:
30
+ print("No Confidential Compute GPUs available.")
31
+ return 1
32
+
33
+ tier = pick_cheapest_h200(inventory)
34
+ if not tier:
35
+ print("No H200 tier available right now.")
36
+ return 1
37
+
38
+ print(
39
+ f"Deploying on {tier['display_name']} "
40
+ f"(${float(tier['final_price_per_hour']):.2f}/hr)..."
41
+ )
42
+
43
+ result = client.create_confidential_pod(
44
+ name="cc-demo",
45
+ resource_name=tier["name"],
46
+ image="ubuntu:22.04",
47
+ )
48
+
49
+ if not result.get("success"):
50
+ print("Deployment failed:", result.get("error"))
51
+ return 1
52
+
53
+ pod = result["pod"]
54
+ print("Deployed:", pod.get("targonUid", pod.get("id")))
55
+ print("SSH: ", pod.get("ssh_command"))
56
+ return 0
57
+
58
+
59
+ if __name__ == "__main__":
60
+ raise SystemExit(main())