voltagegpu-cli 1.0.0__tar.gz → 1.1.0__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 (328) hide show
  1. voltagegpu_cli-1.1.0/.github/workflows/release.yml +56 -0
  2. voltagegpu_cli-1.1.0/.readthedocs.yaml +15 -0
  3. voltagegpu_cli-1.1.0/CHANGELOG.md +123 -0
  4. voltagegpu_cli-1.1.0/LICENSE +21 -0
  5. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/PKG-INFO +5 -3
  6. voltagegpu_cli-1.1.0/assets/web-app-logo.png +0 -0
  7. voltagegpu_cli-1.1.0/docs/_static/.gitkeep +1 -0
  8. voltagegpu_cli-1.1.0/docs/_templates/.gitkeep +1 -0
  9. voltagegpu_cli-1.1.0/docs/api/lium.sdk.BackupConfig.rst +36 -0
  10. voltagegpu_cli-1.1.0/docs/api/lium.sdk.BackupLog.rst +37 -0
  11. voltagegpu_cli-1.1.0/docs/api/lium.sdk.Config.rst +33 -0
  12. voltagegpu_cli-1.1.0/docs/api/lium.sdk.ExecutorInfo.rst +41 -0
  13. voltagegpu_cli-1.1.0/docs/api/lium.sdk.Lium.rst +70 -0
  14. voltagegpu_cli-1.1.0/docs/api/lium.sdk.PodInfo.rst +43 -0
  15. voltagegpu_cli-1.1.0/docs/api/lium.sdk.Template.rst +34 -0
  16. voltagegpu_cli-1.1.0/docs/api/lium.sdk.VolumeInfo.rst +38 -0
  17. voltagegpu_cli-1.1.0/docs/api/lium.sdk.machine.rst +6 -0
  18. voltagegpu_cli-1.1.0/docs/api.rst +41 -0
  19. voltagegpu_cli-1.1.0/docs/conf.py +42 -0
  20. voltagegpu_cli-1.1.0/docs/getting-started.rst +59 -0
  21. voltagegpu_cli-1.1.0/docs/index.rst +14 -0
  22. voltagegpu_cli-1.1.0/docs/requirements.txt +3 -0
  23. voltagegpu_cli-1.1.0/examples/quick_vllm.py +43 -0
  24. voltagegpu_cli-1.1.0/lium/__init__.py +3 -0
  25. voltagegpu_cli-1.1.0/lium/cli/__init__.py +1 -0
  26. voltagegpu_cli-1.1.0/lium/cli/actions.py +11 -0
  27. voltagegpu_cli-1.1.0/lium/cli/bk/__init__.py +26 -0
  28. voltagegpu_cli-1.1.0/lium/cli/bk/logs/actions.py +38 -0
  29. voltagegpu_cli-1.1.0/lium/cli/bk/logs/command.py +80 -0
  30. voltagegpu_cli-1.1.0/lium/cli/bk/logs/display.py +72 -0
  31. voltagegpu_cli-1.1.0/lium/cli/bk/logs/parsing.py +23 -0
  32. voltagegpu_cli-1.1.0/lium/cli/bk/logs/validation.py +9 -0
  33. voltagegpu_cli-1.1.0/lium/cli/bk/now/actions.py +31 -0
  34. voltagegpu_cli-1.1.0/lium/cli/bk/now/command.py +61 -0
  35. voltagegpu_cli-1.1.0/lium/cli/bk/now/parsing.py +39 -0
  36. voltagegpu_cli-1.1.0/lium/cli/bk/now/validation.py +9 -0
  37. voltagegpu_cli-1.1.0/lium/cli/bk/restore/actions.py +20 -0
  38. voltagegpu_cli-1.1.0/lium/cli/bk/restore/command.py +61 -0
  39. voltagegpu_cli-1.1.0/lium/cli/bk/restore/parsing.py +20 -0
  40. voltagegpu_cli-1.1.0/lium/cli/bk/restore/validation.py +12 -0
  41. voltagegpu_cli-1.1.0/lium/cli/bk/rm/actions.py +23 -0
  42. voltagegpu_cli-1.1.0/lium/cli/bk/rm/command.py +67 -0
  43. voltagegpu_cli-1.1.0/lium/cli/bk/rm/parsing.py +20 -0
  44. voltagegpu_cli-1.1.0/lium/cli/bk/rm/validation.py +9 -0
  45. voltagegpu_cli-1.1.0/lium/cli/bk/set/actions.py +33 -0
  46. voltagegpu_cli-1.1.0/lium/cli/bk/set/command.py +74 -0
  47. voltagegpu_cli-1.1.0/lium/cli/bk/set/parsing.py +50 -0
  48. voltagegpu_cli-1.1.0/lium/cli/bk/set/validation.py +21 -0
  49. voltagegpu_cli-1.1.0/lium/cli/bk/show/actions.py +58 -0
  50. voltagegpu_cli-1.1.0/lium/cli/bk/show/command.py +80 -0
  51. voltagegpu_cli-1.1.0/lium/cli/bk/show/parsing.py +20 -0
  52. voltagegpu_cli-1.1.0/lium/cli/bk/show/validation.py +9 -0
  53. voltagegpu_cli-1.1.0/lium/cli/cli.py +99 -0
  54. voltagegpu_cli-1.1.0/lium/cli/commands/__init__.py +1 -0
  55. voltagegpu_cli-1.1.0/lium/cli/commands/exec.py +129 -0
  56. voltagegpu_cli-1.1.0/lium/cli/commands/mine.py +443 -0
  57. voltagegpu_cli-1.1.0/lium/cli/completion.py +71 -0
  58. voltagegpu_cli-1.1.0/lium/cli/config/__init__.py +28 -0
  59. voltagegpu_cli-1.1.0/lium/cli/config/edit/actions.py +23 -0
  60. voltagegpu_cli-1.1.0/lium/cli/config/edit/command.py +22 -0
  61. voltagegpu_cli-1.1.0/lium/cli/config/get/actions.py +17 -0
  62. voltagegpu_cli-1.1.0/lium/cli/config/get/command.py +42 -0
  63. voltagegpu_cli-1.1.0/lium/cli/config/get/validation.py +9 -0
  64. voltagegpu_cli-1.1.0/lium/cli/config/path/actions.py +12 -0
  65. voltagegpu_cli-1.1.0/lium/cli/config/path/command.py +22 -0
  66. voltagegpu_cli-1.1.0/lium/cli/config/reset/actions.py +17 -0
  67. voltagegpu_cli-1.1.0/lium/cli/config/reset/command.py +28 -0
  68. voltagegpu_cli-1.1.0/lium/cli/config/set/actions.py +20 -0
  69. voltagegpu_cli-1.1.0/lium/cli/config/set/command.py +40 -0
  70. voltagegpu_cli-1.1.0/lium/cli/config/set/validation.py +9 -0
  71. voltagegpu_cli-1.1.0/lium/cli/config/show/actions.py +23 -0
  72. voltagegpu_cli-1.1.0/lium/cli/config/show/command.py +26 -0
  73. voltagegpu_cli-1.1.0/lium/cli/config/unset/actions.py +17 -0
  74. voltagegpu_cli-1.1.0/lium/cli/config/unset/command.py +23 -0
  75. voltagegpu_cli-1.1.0/lium/cli/fund/__init__.py +5 -0
  76. voltagegpu_cli-1.1.0/lium/cli/fund/actions.py +141 -0
  77. voltagegpu_cli-1.1.0/lium/cli/fund/command.py +113 -0
  78. voltagegpu_cli-1.1.0/lium/cli/fund/validation.py +16 -0
  79. voltagegpu_cli-1.1.0/lium/cli/init/__init__.py +5 -0
  80. voltagegpu_cli-1.1.0/lium/cli/init/actions.py +56 -0
  81. voltagegpu_cli-1.1.0/lium/cli/init/auth.py +62 -0
  82. voltagegpu_cli-1.1.0/lium/cli/init/command.py +35 -0
  83. voltagegpu_cli-1.1.0/lium/cli/logs/__init__.py +5 -0
  84. voltagegpu_cli-1.1.0/lium/cli/logs/actions.py +39 -0
  85. voltagegpu_cli-1.1.0/lium/cli/logs/command.py +66 -0
  86. voltagegpu_cli-1.1.0/lium/cli/logs/parsing.py +25 -0
  87. voltagegpu_cli-1.1.0/lium/cli/logs/validation.py +15 -0
  88. voltagegpu_cli-1.1.0/lium/cli/ls/__init__.py +5 -0
  89. voltagegpu_cli-1.1.0/lium/cli/ls/actions.py +33 -0
  90. voltagegpu_cli-1.1.0/lium/cli/ls/command.py +112 -0
  91. voltagegpu_cli-1.1.0/lium/cli/ls/display.py +222 -0
  92. voltagegpu_cli-1.1.0/lium/cli/ls/validation.py +31 -0
  93. voltagegpu_cli-1.1.0/lium/cli/plugin_example.py +161 -0
  94. voltagegpu_cli-1.1.0/lium/cli/plugin_helpers.py +39 -0
  95. voltagegpu_cli-1.1.0/lium/cli/plugins.py +56 -0
  96. voltagegpu_cli-1.1.0/lium/cli/port_forward/__init__.py +5 -0
  97. voltagegpu_cli-1.1.0/lium/cli/port_forward/command.py +132 -0
  98. voltagegpu_cli-1.1.0/lium/cli/ps/__init__.py +5 -0
  99. voltagegpu_cli-1.1.0/lium/cli/ps/actions.py +24 -0
  100. voltagegpu_cli-1.1.0/lium/cli/ps/command.py +53 -0
  101. voltagegpu_cli-1.1.0/lium/cli/ps/display.py +147 -0
  102. voltagegpu_cli-1.1.0/lium/cli/reboot/__init__.py +5 -0
  103. voltagegpu_cli-1.1.0/lium/cli/reboot/actions.py +29 -0
  104. voltagegpu_cli-1.1.0/lium/cli/reboot/command.py +53 -0
  105. voltagegpu_cli-1.1.0/lium/cli/reboot/parsing.py +29 -0
  106. voltagegpu_cli-1.1.0/lium/cli/reboot/validation.py +11 -0
  107. voltagegpu_cli-1.1.0/lium/cli/rm/__init__.py +5 -0
  108. voltagegpu_cli-1.1.0/lium/cli/rm/actions.py +50 -0
  109. voltagegpu_cli-1.1.0/lium/cli/rm/command.py +59 -0
  110. voltagegpu_cli-1.1.0/lium/cli/rm/display.py +113 -0
  111. voltagegpu_cli-1.1.0/lium/cli/rm/parsing.py +149 -0
  112. voltagegpu_cli-1.1.0/lium/cli/rm/validation.py +19 -0
  113. voltagegpu_cli-1.1.0/lium/cli/rsync/__init__.py +5 -0
  114. voltagegpu_cli-1.1.0/lium/cli/rsync/actions.py +49 -0
  115. voltagegpu_cli-1.1.0/lium/cli/rsync/command.py +59 -0
  116. voltagegpu_cli-1.1.0/lium/cli/rsync/parsing.py +34 -0
  117. voltagegpu_cli-1.1.0/lium/cli/rsync/validation.py +19 -0
  118. voltagegpu_cli-1.1.0/lium/cli/schedules/__init__.py +21 -0
  119. voltagegpu_cli-1.1.0/lium/cli/schedules/display.py +82 -0
  120. voltagegpu_cli-1.1.0/lium/cli/schedules/list/command.py +29 -0
  121. voltagegpu_cli-1.1.0/lium/cli/schedules/rm/actions.py +28 -0
  122. voltagegpu_cli-1.1.0/lium/cli/schedules/rm/command.py +49 -0
  123. voltagegpu_cli-1.1.0/lium/cli/schedules/rm/parsing.py +30 -0
  124. voltagegpu_cli-1.1.0/lium/cli/schedules/rm/validation.py +10 -0
  125. voltagegpu_cli-1.1.0/lium/cli/scp/__init__.py +5 -0
  126. voltagegpu_cli-1.1.0/lium/cli/scp/actions.py +46 -0
  127. voltagegpu_cli-1.1.0/lium/cli/scp/command.py +89 -0
  128. voltagegpu_cli-1.1.0/lium/cli/scp/parsing.py +73 -0
  129. voltagegpu_cli-1.1.0/lium/cli/scp/validation.py +19 -0
  130. voltagegpu_cli-1.1.0/lium/cli/settings.py +218 -0
  131. voltagegpu_cli-1.1.0/lium/cli/ssh/__init__.py +5 -0
  132. voltagegpu_cli-1.1.0/lium/cli/ssh/actions.py +37 -0
  133. voltagegpu_cli-1.1.0/lium/cli/ssh/command.py +105 -0
  134. voltagegpu_cli-1.1.0/lium/cli/ssh/parsing.py +26 -0
  135. voltagegpu_cli-1.1.0/lium/cli/ssh/validation.py +14 -0
  136. voltagegpu_cli-1.1.0/lium/cli/templates/__init__.py +5 -0
  137. voltagegpu_cli-1.1.0/lium/cli/templates/actions.py +19 -0
  138. voltagegpu_cli-1.1.0/lium/cli/templates/command.py +41 -0
  139. voltagegpu_cli-1.1.0/lium/cli/templates/display.py +47 -0
  140. voltagegpu_cli-1.1.0/lium/cli/theme/__init__.py +5 -0
  141. voltagegpu_cli-1.1.0/lium/cli/theme/actions.py +47 -0
  142. voltagegpu_cli-1.1.0/lium/cli/theme/command.py +23 -0
  143. voltagegpu_cli-1.1.0/lium/cli/themed_console.py +149 -0
  144. voltagegpu_cli-1.1.0/lium/cli/themes.json +26 -0
  145. voltagegpu_cli-1.1.0/lium/cli/ui.py +172 -0
  146. voltagegpu_cli-1.1.0/lium/cli/up/__init__.py +3 -0
  147. voltagegpu_cli-1.1.0/lium/cli/up/actions.py +308 -0
  148. voltagegpu_cli-1.1.0/lium/cli/up/command.py +300 -0
  149. voltagegpu_cli-1.1.0/lium/cli/up/parsing.py +162 -0
  150. voltagegpu_cli-1.1.0/lium/cli/up/validation.py +49 -0
  151. voltagegpu_cli-1.1.0/lium/cli/update/__init__.py +5 -0
  152. voltagegpu_cli-1.1.0/lium/cli/update/actions.py +44 -0
  153. voltagegpu_cli-1.1.0/lium/cli/update/command.py +66 -0
  154. voltagegpu_cli-1.1.0/lium/cli/update/parsing.py +23 -0
  155. voltagegpu_cli-1.1.0/lium/cli/update/validation.py +15 -0
  156. voltagegpu_cli-1.1.0/lium/cli/utils.py +769 -0
  157. voltagegpu_cli-1.1.0/lium/cli/volumes/__init__.py +22 -0
  158. voltagegpu_cli-1.1.0/lium/cli/volumes/display.py +66 -0
  159. voltagegpu_cli-1.1.0/lium/cli/volumes/list/actions.py +16 -0
  160. voltagegpu_cli-1.1.0/lium/cli/volumes/list/command.py +40 -0
  161. voltagegpu_cli-1.1.0/lium/cli/volumes/new/actions.py +18 -0
  162. voltagegpu_cli-1.1.0/lium/cli/volumes/new/command.py +27 -0
  163. voltagegpu_cli-1.1.0/lium/cli/volumes/rm/actions.py +27 -0
  164. voltagegpu_cli-1.1.0/lium/cli/volumes/rm/command.py +58 -0
  165. voltagegpu_cli-1.1.0/lium/cli/volumes/rm/parsing.py +17 -0
  166. voltagegpu_cli-1.1.0/lium/cli/volumes/rm/validation.py +7 -0
  167. voltagegpu_cli-1.1.0/lium/sdk/__init__.py +37 -0
  168. voltagegpu_cli-1.1.0/lium/sdk/client.py +1408 -0
  169. voltagegpu_cli-1.1.0/lium/sdk/config.py +58 -0
  170. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/pyproject.toml +4 -11
  171. voltagegpu_cli-1.1.0/test/Dockerfile +19 -0
  172. voltagegpu_cli-1.1.0/volt/cli/actions.py +11 -0
  173. voltagegpu_cli-1.1.0/volt/cli/bk/__init__.py +26 -0
  174. voltagegpu_cli-1.1.0/volt/cli/bk/logs/actions.py +38 -0
  175. voltagegpu_cli-1.1.0/volt/cli/bk/logs/command.py +80 -0
  176. voltagegpu_cli-1.1.0/volt/cli/bk/logs/display.py +72 -0
  177. voltagegpu_cli-1.1.0/volt/cli/bk/logs/parsing.py +23 -0
  178. voltagegpu_cli-1.1.0/volt/cli/bk/logs/validation.py +9 -0
  179. voltagegpu_cli-1.1.0/volt/cli/bk/now/actions.py +31 -0
  180. voltagegpu_cli-1.1.0/volt/cli/bk/now/command.py +61 -0
  181. voltagegpu_cli-1.1.0/volt/cli/bk/now/parsing.py +39 -0
  182. voltagegpu_cli-1.1.0/volt/cli/bk/now/validation.py +9 -0
  183. voltagegpu_cli-1.1.0/volt/cli/bk/restore/actions.py +20 -0
  184. voltagegpu_cli-1.1.0/volt/cli/bk/restore/command.py +61 -0
  185. voltagegpu_cli-1.1.0/volt/cli/bk/restore/parsing.py +20 -0
  186. voltagegpu_cli-1.1.0/volt/cli/bk/restore/validation.py +12 -0
  187. voltagegpu_cli-1.1.0/volt/cli/bk/rm/actions.py +23 -0
  188. voltagegpu_cli-1.1.0/volt/cli/bk/rm/command.py +67 -0
  189. voltagegpu_cli-1.1.0/volt/cli/bk/rm/parsing.py +20 -0
  190. voltagegpu_cli-1.1.0/volt/cli/bk/rm/validation.py +9 -0
  191. voltagegpu_cli-1.1.0/volt/cli/bk/set/actions.py +33 -0
  192. voltagegpu_cli-1.1.0/volt/cli/bk/set/command.py +74 -0
  193. voltagegpu_cli-1.1.0/volt/cli/bk/set/parsing.py +50 -0
  194. voltagegpu_cli-1.1.0/volt/cli/bk/set/validation.py +21 -0
  195. voltagegpu_cli-1.1.0/volt/cli/bk/show/actions.py +58 -0
  196. voltagegpu_cli-1.1.0/volt/cli/bk/show/command.py +80 -0
  197. voltagegpu_cli-1.1.0/volt/cli/bk/show/parsing.py +20 -0
  198. voltagegpu_cli-1.1.0/volt/cli/bk/show/validation.py +9 -0
  199. voltagegpu_cli-1.1.0/volt/cli/commands/__init__.py +1 -0
  200. voltagegpu_cli-1.1.0/volt/cli/commands/exec.py +129 -0
  201. voltagegpu_cli-1.1.0/volt/cli/commands/mine.py +443 -0
  202. voltagegpu_cli-1.1.0/volt/cli/completion.py +71 -0
  203. voltagegpu_cli-1.1.0/volt/cli/config/__init__.py +28 -0
  204. voltagegpu_cli-1.1.0/volt/cli/config/edit/actions.py +23 -0
  205. voltagegpu_cli-1.1.0/volt/cli/config/edit/command.py +22 -0
  206. voltagegpu_cli-1.1.0/volt/cli/config/get/actions.py +17 -0
  207. voltagegpu_cli-1.1.0/volt/cli/config/get/command.py +42 -0
  208. voltagegpu_cli-1.1.0/volt/cli/config/get/validation.py +9 -0
  209. voltagegpu_cli-1.1.0/volt/cli/config/path/actions.py +12 -0
  210. voltagegpu_cli-1.1.0/volt/cli/config/path/command.py +22 -0
  211. voltagegpu_cli-1.1.0/volt/cli/config/reset/actions.py +17 -0
  212. voltagegpu_cli-1.1.0/volt/cli/config/reset/command.py +28 -0
  213. voltagegpu_cli-1.1.0/volt/cli/config/set/actions.py +20 -0
  214. voltagegpu_cli-1.1.0/volt/cli/config/set/command.py +40 -0
  215. voltagegpu_cli-1.1.0/volt/cli/config/set/validation.py +9 -0
  216. voltagegpu_cli-1.1.0/volt/cli/config/show/actions.py +23 -0
  217. voltagegpu_cli-1.1.0/volt/cli/config/show/command.py +26 -0
  218. voltagegpu_cli-1.1.0/volt/cli/config/unset/actions.py +17 -0
  219. voltagegpu_cli-1.1.0/volt/cli/config/unset/command.py +23 -0
  220. voltagegpu_cli-1.1.0/volt/cli/fund/__init__.py +5 -0
  221. voltagegpu_cli-1.1.0/volt/cli/fund/actions.py +141 -0
  222. voltagegpu_cli-1.1.0/volt/cli/fund/command.py +113 -0
  223. voltagegpu_cli-1.1.0/volt/cli/fund/validation.py +16 -0
  224. voltagegpu_cli-1.1.0/volt/cli/init/__init__.py +5 -0
  225. voltagegpu_cli-1.1.0/volt/cli/init/actions.py +56 -0
  226. voltagegpu_cli-1.1.0/volt/cli/init/auth.py +62 -0
  227. voltagegpu_cli-1.1.0/volt/cli/init/command.py +35 -0
  228. voltagegpu_cli-1.1.0/volt/cli/logs/__init__.py +5 -0
  229. voltagegpu_cli-1.1.0/volt/cli/logs/actions.py +39 -0
  230. voltagegpu_cli-1.1.0/volt/cli/logs/command.py +66 -0
  231. voltagegpu_cli-1.1.0/volt/cli/logs/parsing.py +25 -0
  232. voltagegpu_cli-1.1.0/volt/cli/logs/validation.py +15 -0
  233. voltagegpu_cli-1.1.0/volt/cli/ls/__init__.py +5 -0
  234. voltagegpu_cli-1.1.0/volt/cli/ls/actions.py +33 -0
  235. voltagegpu_cli-1.1.0/volt/cli/ls/command.py +112 -0
  236. voltagegpu_cli-1.1.0/volt/cli/ls/display.py +222 -0
  237. voltagegpu_cli-1.1.0/volt/cli/ls/validation.py +31 -0
  238. voltagegpu_cli-1.1.0/volt/cli/main.py +786 -0
  239. voltagegpu_cli-1.1.0/volt/cli/plugin_example.py +161 -0
  240. voltagegpu_cli-1.1.0/volt/cli/plugin_helpers.py +39 -0
  241. voltagegpu_cli-1.1.0/volt/cli/plugins.py +56 -0
  242. voltagegpu_cli-1.1.0/volt/cli/port_forward/__init__.py +5 -0
  243. voltagegpu_cli-1.1.0/volt/cli/port_forward/command.py +132 -0
  244. voltagegpu_cli-1.1.0/volt/cli/ps/__init__.py +5 -0
  245. voltagegpu_cli-1.1.0/volt/cli/ps/actions.py +24 -0
  246. voltagegpu_cli-1.1.0/volt/cli/ps/command.py +53 -0
  247. voltagegpu_cli-1.1.0/volt/cli/ps/display.py +147 -0
  248. voltagegpu_cli-1.1.0/volt/cli/reboot/__init__.py +5 -0
  249. voltagegpu_cli-1.1.0/volt/cli/reboot/actions.py +29 -0
  250. voltagegpu_cli-1.1.0/volt/cli/reboot/command.py +53 -0
  251. voltagegpu_cli-1.1.0/volt/cli/reboot/parsing.py +29 -0
  252. voltagegpu_cli-1.1.0/volt/cli/reboot/validation.py +11 -0
  253. voltagegpu_cli-1.1.0/volt/cli/rm/__init__.py +5 -0
  254. voltagegpu_cli-1.1.0/volt/cli/rm/actions.py +50 -0
  255. voltagegpu_cli-1.1.0/volt/cli/rm/command.py +59 -0
  256. voltagegpu_cli-1.1.0/volt/cli/rm/display.py +113 -0
  257. voltagegpu_cli-1.1.0/volt/cli/rm/parsing.py +149 -0
  258. voltagegpu_cli-1.1.0/volt/cli/rm/validation.py +19 -0
  259. voltagegpu_cli-1.1.0/volt/cli/rsync/__init__.py +5 -0
  260. voltagegpu_cli-1.1.0/volt/cli/rsync/actions.py +49 -0
  261. voltagegpu_cli-1.1.0/volt/cli/rsync/command.py +59 -0
  262. voltagegpu_cli-1.1.0/volt/cli/rsync/parsing.py +34 -0
  263. voltagegpu_cli-1.1.0/volt/cli/rsync/validation.py +19 -0
  264. voltagegpu_cli-1.1.0/volt/cli/schedules/__init__.py +21 -0
  265. voltagegpu_cli-1.1.0/volt/cli/schedules/display.py +82 -0
  266. voltagegpu_cli-1.1.0/volt/cli/schedules/list/command.py +29 -0
  267. voltagegpu_cli-1.1.0/volt/cli/schedules/rm/actions.py +28 -0
  268. voltagegpu_cli-1.1.0/volt/cli/schedules/rm/command.py +49 -0
  269. voltagegpu_cli-1.1.0/volt/cli/schedules/rm/parsing.py +30 -0
  270. voltagegpu_cli-1.1.0/volt/cli/schedules/rm/validation.py +10 -0
  271. voltagegpu_cli-1.1.0/volt/cli/scp/__init__.py +5 -0
  272. voltagegpu_cli-1.1.0/volt/cli/scp/actions.py +46 -0
  273. voltagegpu_cli-1.1.0/volt/cli/scp/command.py +89 -0
  274. voltagegpu_cli-1.1.0/volt/cli/scp/parsing.py +73 -0
  275. voltagegpu_cli-1.1.0/volt/cli/scp/validation.py +19 -0
  276. voltagegpu_cli-1.1.0/volt/cli/settings.py +218 -0
  277. voltagegpu_cli-1.1.0/volt/cli/ssh/__init__.py +5 -0
  278. voltagegpu_cli-1.1.0/volt/cli/ssh/actions.py +37 -0
  279. voltagegpu_cli-1.1.0/volt/cli/ssh/command.py +105 -0
  280. voltagegpu_cli-1.1.0/volt/cli/ssh/parsing.py +26 -0
  281. voltagegpu_cli-1.1.0/volt/cli/ssh/validation.py +14 -0
  282. voltagegpu_cli-1.1.0/volt/cli/templates/__init__.py +5 -0
  283. voltagegpu_cli-1.1.0/volt/cli/templates/actions.py +19 -0
  284. voltagegpu_cli-1.1.0/volt/cli/templates/command.py +41 -0
  285. voltagegpu_cli-1.1.0/volt/cli/templates/display.py +47 -0
  286. voltagegpu_cli-1.1.0/volt/cli/theme/__init__.py +5 -0
  287. voltagegpu_cli-1.1.0/volt/cli/theme/actions.py +47 -0
  288. voltagegpu_cli-1.1.0/volt/cli/theme/command.py +23 -0
  289. voltagegpu_cli-1.1.0/volt/cli/themed_console.py +149 -0
  290. voltagegpu_cli-1.1.0/volt/cli/themes.json +26 -0
  291. voltagegpu_cli-1.1.0/volt/cli/ui.py +172 -0
  292. voltagegpu_cli-1.1.0/volt/cli/up/__init__.py +3 -0
  293. voltagegpu_cli-1.1.0/volt/cli/up/actions.py +308 -0
  294. voltagegpu_cli-1.1.0/volt/cli/up/command.py +300 -0
  295. voltagegpu_cli-1.1.0/volt/cli/up/parsing.py +162 -0
  296. voltagegpu_cli-1.1.0/volt/cli/up/validation.py +49 -0
  297. voltagegpu_cli-1.1.0/volt/cli/update/__init__.py +5 -0
  298. voltagegpu_cli-1.1.0/volt/cli/update/actions.py +44 -0
  299. voltagegpu_cli-1.1.0/volt/cli/update/command.py +66 -0
  300. voltagegpu_cli-1.1.0/volt/cli/update/parsing.py +23 -0
  301. voltagegpu_cli-1.1.0/volt/cli/update/validation.py +15 -0
  302. voltagegpu_cli-1.1.0/volt/cli/utils.py +769 -0
  303. voltagegpu_cli-1.1.0/volt/cli/volumes/__init__.py +22 -0
  304. voltagegpu_cli-1.1.0/volt/cli/volumes/display.py +66 -0
  305. voltagegpu_cli-1.1.0/volt/cli/volumes/list/actions.py +16 -0
  306. voltagegpu_cli-1.1.0/volt/cli/volumes/list/command.py +40 -0
  307. voltagegpu_cli-1.1.0/volt/cli/volumes/new/actions.py +18 -0
  308. voltagegpu_cli-1.1.0/volt/cli/volumes/new/command.py +27 -0
  309. voltagegpu_cli-1.1.0/volt/cli/volumes/rm/actions.py +27 -0
  310. voltagegpu_cli-1.1.0/volt/cli/volumes/rm/command.py +58 -0
  311. voltagegpu_cli-1.1.0/volt/cli/volumes/rm/parsing.py +17 -0
  312. voltagegpu_cli-1.1.0/volt/cli/volumes/rm/validation.py +7 -0
  313. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/volt/sdk/client.py +113 -1
  314. voltagegpu_cli-1.1.0/volt/sdk/decorators.py +200 -0
  315. voltagegpu_cli-1.1.0/volt/sdk/exceptions.py +29 -0
  316. voltagegpu_cli-1.1.0/volt/sdk/models.py +132 -0
  317. voltagegpu_cli-1.1.0/volt/sdk/utils.py +94 -0
  318. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/.gitignore +0 -0
  319. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/README.md +0 -0
  320. {voltagegpu_cli-1.0.0/volt → voltagegpu_cli-1.1.0/lium}/sdk/decorators.py +0 -0
  321. {voltagegpu_cli-1.0.0/volt → voltagegpu_cli-1.1.0/lium}/sdk/exceptions.py +0 -0
  322. {voltagegpu_cli-1.0.0/volt → voltagegpu_cli-1.1.0/lium}/sdk/models.py +0 -0
  323. {voltagegpu_cli-1.0.0/volt → voltagegpu_cli-1.1.0/lium}/sdk/utils.py +0 -0
  324. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/volt/__init__.py +0 -0
  325. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/volt/cli/__init__.py +0 -0
  326. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/volt/cli/cli.py +0 -0
  327. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/volt/sdk/__init__.py +0 -0
  328. {voltagegpu_cli-1.0.0 → voltagegpu_cli-1.1.0}/volt/sdk/config.py +0 -0
@@ -0,0 +1,56 @@
1
+ name: Build and Publish Python Package
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version:
7
+ description: 'Version to release'
8
+ required: true
9
+ type: string
10
+
11
+ jobs:
12
+ build:
13
+ name: Build Python distribution
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v4
20
+ with:
21
+ python-version: '3.10'
22
+
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install setuptools wheel twine build toml
27
+
28
+ - name: Build package
29
+ run: python -m build --sdist --wheel --outdir dist/
30
+
31
+ - name: Upload artifact
32
+ uses: actions/upload-artifact@v4
33
+ with:
34
+ name: dist
35
+ path: dist/
36
+
37
+ approve-and-publish:
38
+ needs: build
39
+ runs-on: ubuntu-latest
40
+ environment: release
41
+ permissions:
42
+ contents: read
43
+ id-token: write
44
+
45
+ steps:
46
+ - name: Download artifact
47
+ uses: actions/download-artifact@v4
48
+ with:
49
+ name: dist
50
+ path: dist/
51
+
52
+ - name: Publish package distributions to PyPI
53
+ uses: pypa/gh-action-pypi-publish@release/v1
54
+ with:
55
+ verbose: true
56
+ print-hash: true
@@ -0,0 +1,15 @@
1
+ version: 2
2
+
3
+ build:
4
+ os: ubuntu-22.04
5
+ tools:
6
+ python: "3.11"
7
+
8
+ python:
9
+ install:
10
+ - method: pip
11
+ path: .
12
+ - requirements: docs/requirements.txt
13
+
14
+ sphinx:
15
+ configuration: docs/conf.py
@@ -0,0 +1,123 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.4.3] - 2025-10-23
9
+
10
+ ### Added
11
+ - `lium reboot` command to reboot pods individually or in batches.
12
+ - `lium scp` downloads via the new `--download / -d` flag with smarter defaults.
13
+
14
+ ### Changed
15
+ - Updated dependency to `lium-sdk` 0.2.12 to access the reboot helper.
16
+
17
+ ## [0.3.0] - 2025-01-23
18
+
19
+ ### Added
20
+ - **GPU Filtering for `lium up`**:
21
+ - `--gpu` option to filter executors by GPU type (e.g., H200, A6000)
22
+ - `-c/--count` option to filter by exact GPU count per pod
23
+ - `--country` option to filter by ISO country code (e.g., US, SG)
24
+ - **Auto-selection with filters** - Automatically selects best executor when filters are provided
25
+ - **Enhanced Pareto frontier** - Prioritizes US location and high bandwidth when prices are equal
26
+ - **Better error messages** - Helpful tips when no executors match filters
27
+ - **Loading indicators** - Shows progress when searching for executors
28
+
29
+ ### Changed
30
+ - **Refactored `up` command** - Cleaner code structure with extracted helper functions
31
+ - **SSH always connects** - Pod creation now always waits and connects via SSH
32
+ - **Consistent behavior** - Both interactive and non-interactive modes auto-connect
33
+ - **Improved executor ranking** - Better selection when multiple executors have same price
34
+
35
+ ### Removed
36
+ - `-w/--wait` option from `up` command - Now always waits and connects
37
+
38
+ ## [0.3.0-beta.1] - 2025-01-17
39
+
40
+ ### Added
41
+ - **New Commands**:
42
+ - `fund` command - Fund accounts with TAO directly from Bittensor wallet
43
+ - `config` command - Manage CLI configuration and settings
44
+ - `rsync` command - Efficient file synchronization with pods
45
+ - `scp` command - Secure file copying to/from pods
46
+ - `theme` command - Customize CLI appearance with automatic OS theme detection
47
+ - **ThemedConsole system** - OS-aware color schemes with light/dark mode auto-detection
48
+ - **Enhanced plugin system** - Better integration for extending CLI functionality
49
+
50
+ ### Changed
51
+ - Improved executor selection storage mechanism
52
+ - Cleaner console output with reduced verbosity
53
+ - Updated `lium-sdk` dependency to version 0.2.4
54
+
55
+ ### Removed
56
+ - Success message from init command for cleaner output
57
+ - Dind column from `ls` output
58
+
59
+ ### Note
60
+ - `image` and `compose` commands temporarily disabled for beta.1, will be included in beta.2
61
+
62
+ ## [0.2.2] - 2025-01-10
63
+
64
+ ### Added
65
+ - `--version` option to display CLI version (reads from pyproject.toml)
66
+
67
+ ### Changed
68
+ - Version is now dynamically read from pyproject.toml for single source of truth
69
+
70
+ ### Removed
71
+ - Deleted unused `lium_cli/` folder - project now uses `cli/` exclusively
72
+
73
+ ## [0.2.1] - 2025-01-10
74
+
75
+ ### Fixed
76
+ - Fixed package structure in pyproject.toml to properly include the `cli` module
77
+ - Resolved ModuleNotFoundError when installing from PyPI
78
+
79
+ ## [0.2.0] - 2025-01-10
80
+
81
+ ### Added
82
+ - **init command** - Interactive setup wizard for first-time users
83
+ - Pareto frontier optimization in `ls` command - shows optimal executors with ★ indicator
84
+ - Index-based executor selection in `up` command - use numbers from previous `ls` output
85
+ - Session storage for executor selection - enables quick selection by index
86
+ - Full-width tables across all commands for better terminal utilization
87
+ - Proper GPU configuration display in `ps` command showing actual GPU types
88
+ - Cost tracking in `ps` command showing spent amount and hourly rate
89
+ - Better error messages guiding users to run `lium init` when API key is missing
90
+
91
+ ### Changed
92
+ - **BREAKING**: Now requires `lium-sdk>=0.2.0` from PyPI (no longer uses git dependency)
93
+ - Improved `ls` command with tighter table design and no units for cleaner display
94
+ - Enhanced `up` command with better template selection and confirmation flow
95
+ - Better `ps` command showing active pods with proper GPU configs and SSH commands
96
+ - Improved `templates` command removing unnecessary ID column and giving more space to tags
97
+ - Cleaner code throughout following PEP conventions
98
+ - All imports organized alphabetically and grouped properly
99
+ - Removed `from __future__ import annotations` (not needed in Python 3.9+)
100
+
101
+ ### Fixed
102
+ - Rich markup issues with version numbers showing as colors
103
+ - SSH command generation missing spaces
104
+ - GPU configuration showing generic "GPU" instead of actual type
105
+ - Template selection colors and display issues
106
+ - Tables not taking full terminal width
107
+ - Various import and type hint improvements
108
+ - Bare except clauses replaced with specific exceptions
109
+
110
+ ### Removed
111
+ - Unnecessary borders and decorations from tables
112
+ - Units (like "Gi") from numeric displays for cleaner look
113
+ - Confusing HUID column from templates display
114
+ - Debug code and trailing whitespace
115
+ - Unused helper functions
116
+
117
+ ## [0.1.1] - Previous Release
118
+
119
+ - Initial release with basic pod management functionality
120
+ - Basic commands: ls, up, ps, exec, ssh, rm, templates
121
+ - Integration with lium-sdk from git
122
+ - Rich terminal UI with tables
123
+ - Basic error handling
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Datura
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,13 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: voltagegpu-cli
3
- Version: 1.0.0
4
- Summary: VoltageGPU CLI - Command-line interface for managing GPU cloud resources on voltagegpu.com. Deploy, manage, and scale your GPU workloads with ease.
3
+ Version: 1.1.0
4
+ Summary: VoltageGPU CLI - Manage GPU pods, confidential compute, and fine-tuning jobs from the command line. Deploy, train, and scale AI workloads on voltagegpu.com.
5
5
  Project-URL: Homepage, https://voltagegpu.com
6
6
  Project-URL: Documentation, https://docs.voltagegpu.com
7
7
  Project-URL: Repository, https://github.com/voltagegpu/voltagegpu-cli
8
8
  Project-URL: Issues, https://github.com/voltagegpu/voltagegpu-cli/issues
9
9
  Author-email: VoltageGPU <support@voltagegpu.com>
10
- Keywords: ai,cli,cloud,deep-learning,gpu,machine-learning,voltagegpu
10
+ License-File: LICENSE
11
+ Keywords: ai,cli,cloud,confidential-compute,deep-learning,fine-tuning,gpu,machine-learning,voltagegpu
11
12
  Classifier: Development Status :: 4 - Beta
12
13
  Classifier: Intended Audience :: Developers
13
14
  Classifier: Intended Audience :: Science/Research
@@ -23,6 +24,7 @@ Classifier: Topic :: System :: Distributed Computing
23
24
  Requires-Python: >=3.9
24
25
  Requires-Dist: click>=8.0
25
26
  Requires-Dist: httpx>=0.24.0
27
+ Requires-Dist: rich>=13.0
26
28
  Provides-Extra: dev
27
29
  Requires-Dist: black; extra == 'dev'
28
30
  Requires-Dist: pytest; extra == 'dev'
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,36 @@
1
+ lium.sdk.BackupConfig
2
+ =====================
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autoclass:: BackupConfig
7
+
8
+
9
+ .. automethod:: __init__
10
+
11
+
12
+ .. rubric:: Methods
13
+
14
+ .. autosummary::
15
+
16
+ ~BackupConfig.__init__
17
+
18
+
19
+
20
+
21
+
22
+ .. rubric:: Attributes
23
+
24
+ .. autosummary::
25
+
26
+ ~BackupConfig.updated_at
27
+ ~BackupConfig.id
28
+ ~BackupConfig.huid
29
+ ~BackupConfig.pod_executor_id
30
+ ~BackupConfig.backup_frequency_hours
31
+ ~BackupConfig.retention_days
32
+ ~BackupConfig.backup_path
33
+ ~BackupConfig.is_active
34
+ ~BackupConfig.created_at
35
+
36
+
@@ -0,0 +1,37 @@
1
+ lium.sdk.BackupLog
2
+ ==================
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autoclass:: BackupLog
7
+
8
+
9
+ .. automethod:: __init__
10
+
11
+
12
+ .. rubric:: Methods
13
+
14
+ .. autosummary::
15
+
16
+ ~BackupLog.__init__
17
+
18
+
19
+
20
+
21
+
22
+ .. rubric:: Attributes
23
+
24
+ .. autosummary::
25
+
26
+ ~BackupLog.backup_volume_id
27
+ ~BackupLog.completed_at
28
+ ~BackupLog.created_at
29
+ ~BackupLog.error_message
30
+ ~BackupLog.progress
31
+ ~BackupLog.id
32
+ ~BackupLog.huid
33
+ ~BackupLog.backup_config_id
34
+ ~BackupLog.status
35
+ ~BackupLog.started_at
36
+
37
+
@@ -0,0 +1,33 @@
1
+ lium.sdk.Config
2
+ ===============
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autoclass:: Config
7
+
8
+
9
+ .. automethod:: __init__
10
+
11
+
12
+ .. rubric:: Methods
13
+
14
+ .. autosummary::
15
+
16
+ ~Config.__init__
17
+ ~Config.load
18
+
19
+
20
+
21
+
22
+
23
+ .. rubric:: Attributes
24
+
25
+ .. autosummary::
26
+
27
+ ~Config.base_pay_url
28
+ ~Config.base_url
29
+ ~Config.ssh_key_path
30
+ ~Config.ssh_public_keys
31
+ ~Config.api_key
32
+
33
+
@@ -0,0 +1,41 @@
1
+ lium.sdk.ExecutorInfo
2
+ =====================
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autoclass:: ExecutorInfo
7
+
8
+
9
+ .. automethod:: __init__
10
+
11
+
12
+ .. rubric:: Methods
13
+
14
+ .. autosummary::
15
+
16
+ ~ExecutorInfo.__init__
17
+
18
+
19
+
20
+
21
+
22
+ .. rubric:: Attributes
23
+
24
+ .. autosummary::
25
+
26
+ ~ExecutorInfo.available_port_count
27
+ ~ExecutorInfo.driver_version
28
+ ~ExecutorInfo.gpu_model
29
+ ~ExecutorInfo.id
30
+ ~ExecutorInfo.huid
31
+ ~ExecutorInfo.machine_name
32
+ ~ExecutorInfo.gpu_type
33
+ ~ExecutorInfo.gpu_count
34
+ ~ExecutorInfo.price_per_hour
35
+ ~ExecutorInfo.price_per_gpu_hour
36
+ ~ExecutorInfo.location
37
+ ~ExecutorInfo.specs
38
+ ~ExecutorInfo.status
39
+ ~ExecutorInfo.docker_in_docker
40
+
41
+
@@ -0,0 +1,70 @@
1
+ lium.sdk.Lium
2
+ =============
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autoclass:: Lium
7
+
8
+
9
+ .. automethod:: __init__
10
+
11
+
12
+ .. rubric:: Methods
13
+
14
+ .. autosummary::
15
+
16
+ ~Lium.__init__
17
+ ~Lium.add_wallet
18
+ ~Lium.backup_config
19
+ ~Lium.backup_create
20
+ ~Lium.backup_delete
21
+ ~Lium.backup_list
22
+ ~Lium.backup_logs
23
+ ~Lium.backup_now
24
+ ~Lium.balance
25
+ ~Lium.cancel_scheduled_termination
26
+ ~Lium.create_template
27
+ ~Lium.default_docker_template
28
+ ~Lium.down
29
+ ~Lium.download
30
+ ~Lium.edit
31
+ ~Lium.exec
32
+ ~Lium.exec_all
33
+ ~Lium.get_default_images
34
+ ~Lium.get_executor
35
+ ~Lium.get_my_user_id
36
+ ~Lium.get_template
37
+ ~Lium.get_template_by_image_name
38
+ ~Lium.gpu_types
39
+ ~Lium.install_jupyter
40
+ ~Lium.ls
41
+ ~Lium.pod
42
+ ~Lium.ps
43
+ ~Lium.reboot
44
+ ~Lium.restore
45
+ ~Lium.rm
46
+ ~Lium.rsync
47
+ ~Lium.schedule_termination
48
+ ~Lium.scp
49
+ ~Lium.ssh
50
+ ~Lium.ssh_connection
51
+ ~Lium.stream_exec
52
+ ~Lium.switch_template
53
+ ~Lium.templates
54
+ ~Lium.up
55
+ ~Lium.update_template
56
+ ~Lium.upload
57
+ ~Lium.volume
58
+ ~Lium.volume_create
59
+ ~Lium.volume_delete
60
+ ~Lium.volume_update
61
+ ~Lium.volumes
62
+ ~Lium.wait_ready
63
+ ~Lium.wait_template_ready
64
+ ~Lium.wallets
65
+
66
+
67
+
68
+
69
+
70
+
@@ -0,0 +1,43 @@
1
+ lium.sdk.PodInfo
2
+ ================
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autoclass:: PodInfo
7
+
8
+
9
+ .. automethod:: __init__
10
+
11
+
12
+ .. rubric:: Methods
13
+
14
+ .. autosummary::
15
+
16
+ ~PodInfo.__init__
17
+
18
+
19
+
20
+
21
+
22
+ .. rubric:: Attributes
23
+
24
+ .. autosummary::
25
+
26
+ ~PodInfo.host
27
+ ~PodInfo.ssh_port
28
+ ~PodInfo.username
29
+ ~PodInfo.id
30
+ ~PodInfo.name
31
+ ~PodInfo.status
32
+ ~PodInfo.huid
33
+ ~PodInfo.ssh_cmd
34
+ ~PodInfo.ports
35
+ ~PodInfo.created_at
36
+ ~PodInfo.updated_at
37
+ ~PodInfo.executor
38
+ ~PodInfo.template
39
+ ~PodInfo.removal_scheduled_at
40
+ ~PodInfo.jupyter_installation_status
41
+ ~PodInfo.jupyter_url
42
+
43
+
@@ -0,0 +1,34 @@
1
+ lium.sdk.Template
2
+ =================
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autoclass:: Template
7
+
8
+
9
+ .. automethod:: __init__
10
+
11
+
12
+ .. rubric:: Methods
13
+
14
+ .. autosummary::
15
+
16
+ ~Template.__init__
17
+
18
+
19
+
20
+
21
+
22
+ .. rubric:: Attributes
23
+
24
+ .. autosummary::
25
+
26
+ ~Template.id
27
+ ~Template.name
28
+ ~Template.huid
29
+ ~Template.docker_image
30
+ ~Template.docker_image_tag
31
+ ~Template.category
32
+ ~Template.status
33
+
34
+
@@ -0,0 +1,38 @@
1
+ lium.sdk.VolumeInfo
2
+ ===================
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autoclass:: VolumeInfo
7
+
8
+
9
+ .. automethod:: __init__
10
+
11
+
12
+ .. rubric:: Methods
13
+
14
+ .. autosummary::
15
+
16
+ ~VolumeInfo.__init__
17
+
18
+
19
+
20
+
21
+
22
+ .. rubric:: Attributes
23
+
24
+ .. autosummary::
25
+
26
+ ~VolumeInfo.current_file_count
27
+ ~VolumeInfo.current_size_bytes
28
+ ~VolumeInfo.current_size_gb
29
+ ~VolumeInfo.current_size_mb
30
+ ~VolumeInfo.last_metrics_update
31
+ ~VolumeInfo.updated_at
32
+ ~VolumeInfo.id
33
+ ~VolumeInfo.huid
34
+ ~VolumeInfo.name
35
+ ~VolumeInfo.description
36
+ ~VolumeInfo.created_at
37
+
38
+
@@ -0,0 +1,6 @@
1
+ lium.sdk.machine
2
+ ================
3
+
4
+ .. currentmodule:: lium.sdk
5
+
6
+ .. autofunction:: machine
@@ -0,0 +1,41 @@
1
+ API Reference
2
+ =============
3
+
4
+ Core Objects
5
+ ------------
6
+
7
+ .. currentmodule:: lium.sdk
8
+
9
+ .. autosummary::
10
+ :toctree: api
11
+ :nosignatures:
12
+
13
+ Lium
14
+ Config
15
+ ExecutorInfo
16
+ PodInfo
17
+ Template
18
+ VolumeInfo
19
+ BackupConfig
20
+ BackupLog
21
+ machine
22
+
23
+ Modules
24
+ -------
25
+
26
+ .. automodule:: lium.sdk.client
27
+ :members:
28
+ :undoc-members:
29
+ :show-inheritance:
30
+
31
+ .. automodule:: lium.sdk.decorators
32
+ :members:
33
+ :undoc-members:
34
+
35
+ .. automodule:: lium.sdk.models
36
+ :members:
37
+ :undoc-members:
38
+
39
+ .. automodule:: lium.sdk.exceptions
40
+ :members:
41
+ :undoc-members:
@@ -0,0 +1,42 @@
1
+ """Sphinx configuration for Lium SDK documentation."""
2
+
3
+ import importlib.metadata
4
+ import os
5
+ import sys
6
+ from datetime import datetime
7
+
8
+ PROJECT_ROOT = os.path.abspath("..")
9
+ if PROJECT_ROOT not in sys.path:
10
+ sys.path.insert(0, PROJECT_ROOT)
11
+
12
+ project = "Lium SDK"
13
+ author = "Lium"
14
+ copyright = f"{datetime.now():%Y}, {author}"
15
+
16
+ try:
17
+ release = importlib.metadata.version("lium")
18
+ except importlib.metadata.PackageNotFoundError:
19
+ release = "0.0.0"
20
+
21
+ extensions = [
22
+ "sphinx.ext.autodoc",
23
+ "sphinx.ext.autosummary",
24
+ "sphinx.ext.napoleon",
25
+ "sphinx.ext.viewcode",
26
+ ]
27
+
28
+ autosummary_generate = True
29
+ autodoc_typehints = "description"
30
+ autodoc_mock_imports = ["paramiko", "requests", "dotenv"]
31
+
32
+ templates_path = ["_templates"]
33
+ exclude_patterns: list[str] = ["_build", "Thumbs.db", ".DS_Store"]
34
+
35
+ html_theme = "sphinx_rtd_theme"
36
+ html_theme_options = {
37
+ "navigation_depth": 4,
38
+ "collapse_navigation": False,
39
+ "sticky_navigation": True,
40
+ "style_external_links": False,
41
+ }
42
+ html_static_path = ["_static"]