hypershell 2.9.0a6__tar.gz → 2.9.0a7__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 (252) hide show
  1. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/PKG-INFO +2 -2
  2. hypershell-2.9.0a7/docs/_ext/site_notice.py +39 -0
  3. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/client_help.rst +12 -2
  4. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/cluster_help.rst +20 -5
  5. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_param_ref.rst +46 -7
  6. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_task_env.rst +3 -0
  7. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/database.rst +15 -0
  8. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/server_help.rst +10 -3
  9. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/submit_help.rst +11 -4
  10. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/templates.rst +10 -0
  11. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_static/custom.css +9 -0
  12. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/api/client.rst +8 -0
  13. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/api/cluster.rst +7 -0
  14. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/api/data.rst +7 -0
  15. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/api/server.rst +4 -0
  16. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/api/submit.rst +6 -0
  17. hypershell-2.9.0a7/docs/cli/client.rst +25 -0
  18. hypershell-2.9.0a7/docs/cli/cluster.rst +25 -0
  19. hypershell-2.9.0a7/docs/cli/initdb.rst +23 -0
  20. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/relay.rst +3 -0
  21. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/server.rst +4 -0
  22. hypershell-2.9.0a7/docs/cli/submit.rst +26 -0
  23. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/task_info.rst +3 -0
  24. hypershell-2.9.0a7/docs/cli/task_search.rst +26 -0
  25. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/task_submit.rst +5 -0
  26. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/task_update.rst +3 -0
  27. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/task_wait.rst +3 -0
  28. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/conf.py +24 -2
  29. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/config.rst +4 -0
  30. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/getting_started.rst +7 -0
  31. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/index.rst +1 -0
  32. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/install.rst +9 -0
  33. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/logging.rst +11 -5
  34. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/manual.rst +3 -2
  35. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/security.rst +21 -6
  36. hypershell-2.9.0a7/docs/whats_new.rst +224 -0
  37. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/pyproject.toml +2 -2
  38. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/share/man/man1/hs.1 +71 -29
  39. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/share/man/man1/hsx.1 +71 -29
  40. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/share/man/man1/hyper-shell.1 +71 -29
  41. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/share/zsh/site-functions/_hs +2 -2
  42. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/client.py +8 -8
  43. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/cluster/__init__.py +7 -7
  44. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/config.py +6 -1
  45. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/config.py +79 -1
  46. hypershell-2.9.0a7/src/hypershell/core/types.py +147 -0
  47. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/data/model.py +20 -2
  48. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/relay/upstream.py +4 -24
  49. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/server.py +9 -7
  50. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/submit.py +8 -6
  51. hypershell-2.9.0a7/tests/test_auth_variants.py +408 -0
  52. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_cluster.py +21 -0
  53. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_launch.py +89 -0
  54. hypershell-2.9.0a7/tests/test_size_duration.py +364 -0
  55. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/uv.lock +5 -5
  56. hypershell-2.9.0a6/docs/cli/client.rst +0 -18
  57. hypershell-2.9.0a6/docs/cli/cluster.rst +0 -18
  58. hypershell-2.9.0a6/docs/cli/initdb.rst +0 -18
  59. hypershell-2.9.0a6/docs/cli/submit.rst +0 -18
  60. hypershell-2.9.0a6/docs/cli/task_search.rst +0 -18
  61. hypershell-2.9.0a6/src/hypershell/core/types.py +0 -118
  62. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/.gitignore +0 -0
  63. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/CODE_OF_CONDUCT.md +0 -0
  64. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/LICENSE +0 -0
  65. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/README.rst +0 -0
  66. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/Makefile +0 -0
  67. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/citation.rst +0 -0
  68. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/client_desc.rst +0 -0
  69. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/client_usage.rst +0 -0
  70. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/cluster_desc.rst +0 -0
  71. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/cluster_usage.rst +0 -0
  72. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_desc.rst +0 -0
  73. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_edit_desc.rst +0 -0
  74. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_edit_help.rst +0 -0
  75. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_edit_usage.rst +0 -0
  76. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_get_desc.rst +0 -0
  77. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_get_help.rst +0 -0
  78. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_get_usage.rst +0 -0
  79. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_help.rst +0 -0
  80. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_intro.rst +0 -0
  81. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_intro_alt.rst +0 -0
  82. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_pythonpath.rst +0 -0
  83. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_set_desc.rst +0 -0
  84. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_set_help.rst +0 -0
  85. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_set_usage.rst +0 -0
  86. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_site_vars.rst +0 -0
  87. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_task_env_alt.rst +0 -0
  88. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_usage.rst +0 -0
  89. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_which_desc.rst +0 -0
  90. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_which_help.rst +0 -0
  91. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/config_which_usage.rst +0 -0
  92. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/database_alt.rst +0 -0
  93. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/desc.rst +0 -0
  94. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/exit_status.rst +0 -0
  95. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/initdb_desc.rst +0 -0
  96. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/initdb_help.rst +0 -0
  97. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/initdb_usage.rst +0 -0
  98. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/license.rst +0 -0
  99. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/relay_desc.rst +0 -0
  100. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/relay_help.rst +0 -0
  101. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/relay_usage.rst +0 -0
  102. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/security_alt.rst +0 -0
  103. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/server_desc.rst +0 -0
  104. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/server_usage.rst +0 -0
  105. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/signals.rst +0 -0
  106. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/submit_desc.rst +0 -0
  107. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/submit_usage.rst +0 -0
  108. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_groups_alt.rst +0 -0
  109. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_info_desc.rst +0 -0
  110. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_info_help.rst +0 -0
  111. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_info_usage.rst +0 -0
  112. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_run_desc.rst +0 -0
  113. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_run_help.rst +0 -0
  114. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_run_usage.rst +0 -0
  115. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_search_desc.rst +0 -0
  116. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_search_help.rst +0 -0
  117. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_search_usage.rst +0 -0
  118. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_submit_desc.rst +0 -0
  119. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_submit_help.rst +0 -0
  120. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_submit_usage.rst +0 -0
  121. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_update_desc.rst +0 -0
  122. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_update_help.rst +0 -0
  123. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_update_usage.rst +0 -0
  124. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_wait_desc.rst +0 -0
  125. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_wait_help.rst +0 -0
  126. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/task_wait_usage.rst +0 -0
  127. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/templates_alt.rst +0 -0
  128. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_include/tls_cli_options.rst +0 -0
  129. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_static/logo-dark-mode.png +0 -0
  130. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/_static/logo-light-mode.png +0 -0
  131. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/alternatives.rst +0 -0
  132. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/api/index.rst +0 -0
  133. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/config.rst +0 -0
  134. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/config_edit.rst +0 -0
  135. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/config_get.rst +0 -0
  136. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/config_set.rst +0 -0
  137. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/config_which.rst +0 -0
  138. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/index.rst +0 -0
  139. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/cli/task_run.rst +0 -0
  140. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/database.rst +0 -0
  141. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/docs/templates.rst +0 -0
  142. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/share/bash_completion.d/hs +0 -0
  143. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/share/bash_completion.d/hsx +0 -0
  144. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/__init__.py +0 -0
  145. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/cluster/launch.py +0 -0
  146. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/cluster/local.py +0 -0
  147. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/cluster/remote.py +0 -0
  148. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/cluster/ssh.py +0 -0
  149. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/__init__.py +0 -0
  150. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/dispatch.py +0 -0
  151. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/exceptions.py +0 -0
  152. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/fsm.py +0 -0
  153. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/heartbeat.py +0 -0
  154. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/logging.py +0 -0
  155. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/platform.py +0 -0
  156. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/pretty_print.py +0 -0
  157. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/queue.py +0 -0
  158. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/reconnect.py +0 -0
  159. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/remote.py +0 -0
  160. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/resource.py +0 -0
  161. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/signal.py +0 -0
  162. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/sys.py +0 -0
  163. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/tag.py +0 -0
  164. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/template.py +0 -0
  165. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/thread.py +0 -0
  166. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/tls.py +0 -0
  167. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/core/uuid.py +0 -0
  168. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/data/__init__.py +0 -0
  169. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/data/core.py +0 -0
  170. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/data/timescale.py +0 -0
  171. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/data/upgrade.py +0 -0
  172. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/relay/__init__.py +0 -0
  173. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/relay/site.py +0 -0
  174. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/relay/store.py +0 -0
  175. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/src/hypershell/task.py +0 -0
  176. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/__init__.py +0 -0
  177. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/bench/bench_queue.py +0 -0
  178. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/cluster/build_archive.sh +0 -0
  179. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/cluster/compare.py +0 -0
  180. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/cluster/drive.sh +0 -0
  181. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/cluster/smoke.sh +0 -0
  182. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/conftest.py +0 -0
  183. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/fixtures/README.md +0 -0
  184. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/fixtures/hypershell-2.8.3.db +0 -0
  185. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/fixtures/make-2.8.3-db.sh +0 -0
  186. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/fixtures/make-legacy-postgres.sh +0 -0
  187. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_autoscale.py +0 -0
  188. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_cancel.py +0 -0
  189. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_card_info.py +0 -0
  190. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_card_integration.py +0 -0
  191. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_card_render.py +0 -0
  192. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_client.py +0 -0
  193. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_client_request.py +0 -0
  194. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_cluster_compare.py +0 -0
  195. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_cluster_launch.py +0 -0
  196. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_completions.py +0 -0
  197. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_contended_recovery.py +0 -0
  198. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_contended_write.py +0 -0
  199. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_data/__init__.py +0 -0
  200. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_data/test_core.py +0 -0
  201. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_data/test_model.py +0 -0
  202. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_data/test_upgrade.py +0 -0
  203. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_dispatch.py +0 -0
  204. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_dispatch_staged.py +0 -0
  205. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_dispatch_version.py +0 -0
  206. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_dispatch_workload.py +0 -0
  207. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_factory_fsm.py +0 -0
  208. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_group_order.py +0 -0
  209. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_groups.py +0 -0
  210. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_initdb.py +0 -0
  211. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_list.py +0 -0
  212. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_logging.py +0 -0
  213. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_main.py +0 -0
  214. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_meta_status.py +0 -0
  215. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_queue.py +0 -0
  216. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_queue_address_family.py +0 -0
  217. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_queue_gc.py +0 -0
  218. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_queue_limits.py +0 -0
  219. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_queue_start.py +0 -0
  220. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_queue_tls.py +0 -0
  221. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_queue_workload.py +0 -0
  222. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_connector.py +0 -0
  223. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_db.py +0 -0
  224. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_fsm.py +0 -0
  225. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_judge.py +0 -0
  226. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_link.py +0 -0
  227. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_outage.py +0 -0
  228. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_return.py +0 -0
  229. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_roster.py +0 -0
  230. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_relay_workload.py +0 -0
  231. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_restart.py +0 -0
  232. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_retry_gate.py +0 -0
  233. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_server.py +0 -0
  234. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_server_fsm.py +0 -0
  235. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_signal.py +0 -0
  236. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_source.py +0 -0
  237. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_status_label.py +0 -0
  238. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_submit.py +0 -0
  239. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_submit_json.py +0 -0
  240. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_template.py +0 -0
  241. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_timescale.py +0 -0
  242. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_update.py +0 -0
  243. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_upgrade_cli.py +0 -0
  244. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_upgrade_postgres.py +0 -0
  245. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_writeback.py +0 -0
  246. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_writeback_postgres.py +0 -0
  247. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_writeback_statement.py +0 -0
  248. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_zone_dispatch.py +0 -0
  249. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_zone_display.py +0 -0
  250. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_zone_model.py +0 -0
  251. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_zone_postgres.py +0 -0
  252. {hypershell-2.9.0a6 → hypershell-2.9.0a7}/tests/test_zone_workload.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: hypershell
3
- Version: 2.9.0a6
3
+ Version: 2.9.0a7
4
4
  Summary: A cross-platform, high-throughput computing utility for processing shell commands over a distributed, asynchronous queue.
5
5
  Project-URL: Homepage, https://hypershell.org
6
6
  Project-URL: Documentation, https://hypershell.readthedocs.io
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.13
21
21
  Classifier: Programming Language :: Python :: 3.14
22
22
  Classifier: Topic :: Utilities
23
23
  Requires-Python: >=3.11
24
- Requires-Dist: cmdkit[toml]>=2.7.7
24
+ Requires-Dist: cmdkit[toml]>=2.8.0
25
25
  Requires-Dist: cryptography>=3.4
26
26
  Requires-Dist: paramiko>=3.4.0
27
27
  Requires-Dist: psutil>=7.0.0
@@ -0,0 +1,39 @@
1
+ """The site-wide notice shown while the docs are built from a pre-release or development version.
2
+
3
+ The published site builds from `develop`, so between releases it describes behaviour that the
4
+ stable release on PyPI does not have. `conf.py` passes `announcement(release)` to the Furo theme;
5
+ a final version yields no notice, so the notice goes away by itself when `develop` carries one.
6
+ """
7
+
8
+ from typing import Optional
9
+
10
+ from packaging.version import Version
11
+
12
+ __all__ = ['announcement']
13
+
14
+
15
+ def announcement(release: str, base: str = '') -> Optional[str]:
16
+ """The notice (HTML) for the docs of `release`, or None for a final release.
17
+
18
+ The notice is the same HTML on every page, so its link can't be relative to the page. `base` is
19
+ the site's root URL; the link is absolute under it, so it also works from a build opened from
20
+ disk.
21
+ """
22
+ base = base.rstrip('/')
23
+ version = Version(release)
24
+ if not (version.is_prerelease or version.is_devrelease):
25
+ return None
26
+ line = f'{version.major}.{version.minor}'
27
+ marker = f'{line}.{version.micro}'
28
+ if version.micro:
29
+ stable = f'the {line}.{version.micro - 1} release'
30
+ elif version.minor:
31
+ stable = f'the {version.major}.{version.minor - 1}.x stable release'
32
+ else:
33
+ stable = 'the current stable release'
34
+ return (f'These docs track the {line} development line. '
35
+ f'Items marked “Added in version {marker}” or “Changed in version '
36
+ f'{marker}” are not in {stable}. '
37
+ f'Install the pre-release with <code>pip install --pre hypershell</code>. '
38
+ f'Some may not be in a pre-release yet. '
39
+ f'See <a href="{base}/whats_new.html">What&rsquo;s new in {line}</a>, which says which are.')
@@ -105,6 +105,10 @@ Options
105
105
  The timeout counts from when the client starts, after any ``--delay-start``, so the delay
106
106
  does not count toward it.
107
107
 
108
+ Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
109
+ fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
110
+ ``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
111
+
108
112
 
109
113
  ``-W``, ``--task-timeout`` *SEC*
110
114
  Task-level walltime limit (default: none).
@@ -112,6 +116,10 @@ Options
112
116
  Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
113
117
  If the process still persists the executor itself will shutdown.
114
118
 
119
+ Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
120
+ fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
121
+ ``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
122
+
115
123
  ``-C``, ``--client-cores`` *NUM*
116
124
  Limit available cores for client (default: all cores).
117
125
 
@@ -125,8 +133,10 @@ Options
125
133
  Limit available memory for client (default: all memory).
126
134
 
127
135
  Sets an upper bound on the amount of memory that the client can use.
128
- Specify memory size with units (e.g., '16GB', '4096MB'). This allows running
129
- multiple clients on the same node by partitioning resources.
136
+ Specify memory size in bytes or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed
137
+ by ``B`` or ``iB``, in any case (e.g., '16G', '4096MB'). Each unit is a power of 1024, so
138
+ ``16G``, ``16GB`` and ``16GiB`` are the same size. This allows running multiple clients on
139
+ the same node by partitioning resources.
130
140
 
131
141
  ``--monitor``
132
142
  Enable resource monitoring for tasks.
@@ -252,12 +252,22 @@ Options
252
252
 
253
253
  This feature allows for gracefully scaling down a cluster when task throughput subsides.
254
254
 
255
+ Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
256
+ fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
257
+ ``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
258
+
255
259
  ``-W``, ``--task-timeout`` *SEC*
256
260
  Task-level walltime limit (default: none).
257
261
 
258
262
  Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
259
263
  If the process still persists the executor itself will shutdown.
260
264
 
265
+ Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
266
+ fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
267
+ ``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
268
+ Individual tasks can override this with inline comments, which take the same forms (e.g.,
269
+ ``#HYPERSHELL: timeout:1:30:00``).
270
+
261
271
  ``-c``, ``--cores`` *NUM*
262
272
  Number of CPU cores required per task (default: none).
263
273
 
@@ -267,9 +277,12 @@ Options
267
277
  ``-m``, ``--memory`` *MEM*
268
278
  Amount of memory required per task (default: none).
269
279
 
270
- Specify memory size with units (e.g., '4GB', '512MB'). Tasks will only be
271
- executed when the required memory is available. Used with resource-aware
272
- scheduling and backfill.
280
+ Specify memory size in bytes or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed
281
+ by ``B`` or ``iB``, in any case (e.g., '4GB', '512M'). Each unit is a power of 1024, so
282
+ ``16G``, ``16GB`` and ``16GiB`` are the same size. Individual tasks can override this with
283
+ inline comments, which take the same forms (e.g., ``#HYPERSHELL: memory:8G``). Tasks will
284
+ only be executed when the required memory is available. Used with resource-aware scheduling
285
+ and backfill.
273
286
 
274
287
  ``-C``, ``--client-cores`` *NUM*
275
288
  Limit available cores per client (default: all cores).
@@ -284,8 +297,10 @@ Options
284
297
  Limit available memory per client (default: all memory).
285
298
 
286
299
  Sets an upper bound on the amount of memory that each client can use.
287
- Specify memory size with units (e.g., '16GB', '4096MB'). This allows running
288
- multiple clients on the same node by partitioning resources.
300
+ Specify memory size in bytes or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed
301
+ by ``B`` or ``iB``, in any case (e.g., '16G', '4096MB'). Each unit is a power of 1024, so
302
+ ``16G``, ``16GB`` and ``16GiB`` are the same size. This allows running multiple clients on
303
+ the same node by partitioning resources.
289
304
 
290
305
  ``--monitor``
291
306
  Enable resource monitoring for tasks.
@@ -68,9 +68,10 @@
68
68
 
69
69
  ``.rotate``
70
70
  Rotation policy (default: ``never``). Either a size threshold such as ``512MB``
71
- (units ``KB``/``MB``/``GB``/``TB``, powers of 1024; a bare number is bytes) or a
72
- cron expression such as ``@daily``, ``@midnight``, or ``0 1 * * 0`` (requires the
73
- ``croniter`` package). Sending ``SIGHUP`` rotates on demand.
71
+ or ``2G`` (units ``K``/``M``/``G``/``T``, alone or followed by ``B`` or ``iB``,
72
+ powers of 1024; a bare number is bytes) or a cron expression such as ``@daily``,
73
+ ``@midnight``, or ``0 1 * * 0`` (requires the ``croniter`` package). A cron
74
+ expression may begin with a digit. Sending ``SIGHUP`` rotates on demand.
74
75
 
75
76
  ``.compress``
76
77
  Compression for rotated files (default: none). One of ``gzip``, ``bzip``,
@@ -99,6 +100,11 @@
99
100
  (requires the ``uuid7`` extra; see the TimescaleDB section of :ref:`database <database>`).
100
101
  Support for other providers may be considered in the future.
101
102
 
103
+ .. only:: html
104
+
105
+ .. versionchanged:: 2.9.0
106
+ :pr:`71`: the ``timescale`` provider.
107
+
102
108
  ``.file``
103
109
  Only applicable for SQLite provider.
104
110
  SQLite does not understand any other connection detail.
@@ -149,6 +155,11 @@
149
155
  (``"4 weeks"``). For example ``timescale = { chunk_interval = "1 day" }``.
150
156
  See the TimescaleDB section of :ref:`database <database>`.
151
157
 
158
+ .. only:: html
159
+
160
+ .. versionadded:: 2.9.0
161
+ :pr:`71`
162
+
152
163
  ``*``
153
164
  Any additional arguments are forwarded to the provider, e.g., ``encoding = 'utf-8'``.
154
165
 
@@ -209,6 +220,11 @@
209
220
 
210
221
  See also ``-b``/``--bundlesize`` command-line option.
211
222
 
223
+ .. only:: html
224
+
225
+ .. versionchanged:: 2.9.0
226
+ :pr:`78`: the size for a client that advertises none.
227
+
212
228
  ``.bundlemax``
213
229
  Most tasks the server hands a client in one reply (default: `1000`).
214
230
 
@@ -216,6 +232,11 @@
216
232
  than this many tasks, whatever a client asks for. The effective cap is never smaller than
217
233
  the server's own ``.bundlesize``. There is no command-line option.
218
234
 
235
+ .. only:: html
236
+
237
+ .. versionadded:: 2.9.0
238
+ :pr:`78`
239
+
219
240
  ``.attempts``
220
241
  Attempts for auto-retry on failed tasks (default: `1`).
221
242
 
@@ -346,6 +367,8 @@
346
367
  Timeout in seconds for client. Automatically shutdown if no tasks received (default: never).
347
368
 
348
369
  This feature allows for gracefully scaling down a cluster when task throughput subsides.
370
+ A string takes the same forms as ``-T``/``--timeout``: units ``d``, ``h``, ``m`` and
371
+ ``s`` (e.g., ``"1h30m"``, ``"1.5h"``) or a Slurm time (e.g., ``"1:30:00"``, ``"1-12"``).
349
372
 
350
373
  ``.cores``
351
374
  Client-level limit on CPU cores available for running tasks (default: all available).
@@ -359,7 +382,8 @@
359
382
  Client-level limit on memory (in bytes) available for running tasks (default: all available).
360
383
 
361
384
  A value of ``0`` means unconstrained. Set a lower value to partition a node's memory
362
- between multiple clients.
385
+ between multiple clients. A string may carry a unit ``K``, ``M``, ``G`` or ``T``, alone
386
+ or followed by ``B`` or ``iB``, each a power of 1024 (e.g., ``"16G"``).
363
387
 
364
388
  See also ``-M``/``--client-memory`` command-line option.
365
389
 
@@ -388,6 +412,11 @@
388
412
 
389
413
  See also ``-b``/``--bundlesize`` command-line option.
390
414
 
415
+ .. only:: html
416
+
417
+ .. versionchanged:: 2.9.0
418
+ :pr:`78`: a client advertises it as the size it requests.
419
+
391
420
  ``.bundlewait``
392
421
  Seconds to wait before flushing tasks (default: `5`).
393
422
 
@@ -414,16 +443,21 @@
414
443
  ``.memory``
415
444
  Default memory (in bytes) required per task (default: unconstrained).
416
445
 
417
- A value of ``0`` means unconstrained. Used with resource-aware scheduling and backfill;
418
- individual tasks may override this inline (e.g., ``# HYPERSHELL: memory:8GB``).
446
+ A value of ``0`` means unconstrained. A string may carry a unit ``K``, ``M``, ``G`` or
447
+ ``T``, alone or followed by ``B`` or ``iB``, each a power of 1024 (e.g., ``"16G"``). Used
448
+ with resource-aware scheduling and backfill; individual tasks may override this inline in
449
+ the same forms (e.g., ``# HYPERSHELL: memory:8G``).
419
450
 
420
451
  See also ``-m``/``--memory`` command-line option.
421
452
 
422
453
  ``.timeout``
423
- Task-level walltime limit (default: none).
454
+ Task-level walltime limit in seconds (default: none).
424
455
 
425
456
  Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
426
457
  If the process still persists the executor itself will shutdown.
458
+ A string takes the same forms as ``-W``: units ``d``, ``h``, ``m`` and ``s`` (e.g.,
459
+ ``"1h30m"``, ``"1.5h"``) or a Slurm time (e.g., ``"1:30:00"``, ``"1-12"``); individual
460
+ tasks may override this inline in the same forms (e.g., ``# HYPERSHELL: timeout:1h30m``).
427
461
 
428
462
  ``.signalwait``
429
463
  Wait period in seconds between signal escalation on task cancellation (default: 10).
@@ -520,6 +554,11 @@
520
554
  ``[relay]``
521
555
  Section for the `relay` workflow, which connects a site to an upstream *server*.
522
556
 
557
+ .. only:: html
558
+
559
+ .. versionadded:: 2.9.0
560
+ :pr:`82`
561
+
523
562
  ``.database``
524
563
  Path to the relay database (default: <lib>/relay/<host>.db).
525
564
 
@@ -65,6 +65,9 @@ A few common environment variables are defined for every task.
65
65
  ``TASK_SLOT_COUNT``
66
66
  Number of concurrent executors on the client (``N``). Defaults to ``1``.
67
67
 
68
+ .. versionadded:: 2.9.0
69
+ ``TASK_SLOT`` and ``TASK_SLOT_COUNT`` (:pr:`52`).
70
+
68
71
  |
69
72
 
70
73
  Any user-defined tags are included as environment variables as well with
@@ -97,11 +97,16 @@ Individual pragmas can also be set from the command line:
97
97
 
98
98
  -------------------
99
99
 
100
+ .. _database_initialization:
101
+
100
102
  Initialization
101
103
  --------------
102
104
 
103
105
  |
104
106
 
107
+ .. versionchanged:: 2.9.0
108
+ :pr:`69`: a database from an earlier release is upgraded in place on first use.
109
+
105
110
  SQLite is automatically initialized upon opening the connection but
106
111
  Postgres must be explicitly initialized via ``hs initdb`` or at launch with
107
112
  the ``--initdb`` command-line option.
@@ -129,11 +134,16 @@ See also the :ref:`command-line interface <cli_initdb>` for ``hs initdb``.
129
134
 
130
135
  -------------------
131
136
 
137
+ .. _database_relay:
138
+
132
139
  Relay Database
133
140
  --------------
134
141
 
135
142
  |
136
143
 
144
+ .. versionadded:: 2.9.0
145
+ :pr:`82`
146
+
137
147
  A relay (``hs relay``) keeps its own database, apart from the one configured here. It is always a
138
148
  private SQLite file, whatever ``[database]`` names (PostgreSQL included), and the configured database
139
149
  is never opened by a relay process. It holds the tasks the relay has received and not yet finished,
@@ -158,11 +168,16 @@ relay database (``<file>.site.toml``, readable by its owner only), removed when
158
168
 
159
169
  -------------------
160
170
 
171
+ .. _database_timescale:
172
+
161
173
  TimescaleDB
162
174
  -----------
163
175
 
164
176
  |
165
177
 
178
+ .. versionadded:: 2.9.0
179
+ :pr:`71`
180
+
166
181
  `TimescaleDB <https://github.com/timescale/timescaledb>`_ is a PostgreSQL extension for
167
182
  time-series data. It splits a large table into *chunks* by time (a *hypertable*) and can convert
168
183
  older chunks into a compressed, column-oriented *columnstore*. A long-lived *HyperShell* database
@@ -86,8 +86,10 @@ Options
86
86
 
87
87
  When an input *FILE* is provided, a `submit` thread is launched to read and submit tasks.
88
88
  This option sets the default memory requirement for all submitted tasks.
89
- Specify memory size with units (e.g., '4GB', '512MB'). Individual tasks can override this
90
- with inline comments (e.g., ``#HYPERSHELL: memory:8GB``).
89
+ Specify memory size in bytes or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed
90
+ by ``B`` or ``iB``, in any case (e.g., '4GB', '512M'). Each unit is a power of 1024, so
91
+ ``16G``, ``16GB`` and ``16GiB`` are the same size. Individual tasks can override this with
92
+ inline comments, which take the same forms (e.g., ``#HYPERSHELL: memory:8G``).
91
93
 
92
94
  See also ``--task-cores`` and ``--task-timeout``.
93
95
 
@@ -96,7 +98,12 @@ Options
96
98
 
97
99
  When an input *FILE* is provided, a `submit` thread is launched to read and submit tasks.
98
100
  This option sets the default timeout for all submitted tasks. Individual
99
- tasks can override this with inline comments (e.g., ``#HYPERSHELL: timeout:3600``).
101
+ tasks can override this with inline comments, which take the same forms (e.g.,
102
+ ``#HYPERSHELL: timeout:3600`` or ``#HYPERSHELL: timeout:1:30:00``).
103
+
104
+ Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
105
+ fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
106
+ ``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
100
107
 
101
108
  See also ``--task-cores`` and ``--task-memory``.
102
109
 
@@ -101,15 +101,22 @@ Options
101
101
  ``-m``, ``--memory`` *MEM*
102
102
  Amount of memory required per task (default: none).
103
103
 
104
- Sets the default memory requirement for all submitted tasks. Specify memory size with
105
- units (e.g., '4GB', '512MB'). Individual tasks can override this with inline comments
106
- (e.g., ``#HYPERSHELL: memory:8GB``).
104
+ Sets the default memory requirement for all submitted tasks. Specify memory size in bytes
105
+ or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed by ``B`` or ``iB``, in any
106
+ case (e.g., '4GB', '512M'). Each unit is a power of 1024, so ``16G``, ``16GB`` and ``16GiB``
107
+ are the same size. Individual tasks can override this with inline comments, which take the
108
+ same forms (e.g., ``#HYPERSHELL: memory:8G``).
107
109
 
108
110
  ``-W``, ``--timeout`` *SEC*
109
111
  Task-level walltime limit in seconds (default: none).
110
112
 
111
113
  Sets the default timeout for all submitted tasks. Individual tasks can override this
112
- with inline comments (e.g., ``#HYPERSHELL: timeout:3600``).
114
+ with inline comments, which take the same forms (e.g., ``#HYPERSHELL: timeout:3600`` or
115
+ ``#HYPERSHELL: timeout:1:30:00``).
116
+
117
+ Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
118
+ fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
119
+ ``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
113
120
 
114
121
  ``-g``, ``--group`` *NUM*
115
122
  Task group for dependency management (default: 0).
@@ -15,11 +15,16 @@ These are expanded `prior` to scheduling as the actual `args` for the task.
15
15
 
16
16
  -------------------
17
17
 
18
+ .. _templates_named_fields:
19
+
18
20
  Named Fields
19
21
  ^^^^^^^^^^^^
20
22
 
21
23
  |
22
24
 
25
+ .. versionadded:: 2.9.0
26
+ :pr:`48`
27
+
23
28
  When tasks are submitted from a JSON file with ``--from-json`` (see the ``submit``
24
29
  command), each task object's keys become available as named template fields. A
25
30
  ``{key}`` pattern expands to that key's value for the given task, and the keys also
@@ -40,11 +45,16 @@ and every ``{key}`` must be present in each task object or the submission is rej
40
45
 
41
46
  -------------------
42
47
 
48
+ .. _templates_slot:
49
+
43
50
  Execution Slot
44
51
  ^^^^^^^^^^^^^^
45
52
 
46
53
  |
47
54
 
55
+ .. versionadded:: 2.9.0
56
+ :pr:`52`
57
+
48
58
  Each client runs ``N`` task executors (set with ``-N``/``--num-threads``); every executor owns
49
59
  a fixed **slot** for its lifetime, a zero-based index in ``0 .. N-1``. Two patterns expose it so a
50
60
  task can claim a non-overlapping share of the node's cores, memory, or GPUs without colliding with
@@ -14,3 +14,12 @@
14
14
  -webkit-mask-image: var(--icon-admonition-default);
15
15
  mask-image:var(--icon-admonition-default)
16
16
  }
17
+
18
+ /* The site notice is a few sentences long: let it wrap instead of scrolling out of view. */
19
+ .announcement {
20
+ height: auto;
21
+ min-height: var(--header-height);
22
+ }
23
+ .announcement-content {
24
+ white-space: normal;
25
+ }
@@ -23,6 +23,10 @@ Functions
23
23
 
24
24
  .. autofunction:: run_client
25
25
 
26
+ .. versionchanged:: 2.9.0
27
+ :pr:`78`: the ``zone`` parameter. ``bundlesize`` is now the bundle size the client requests
28
+ from the server, and by default it requests none and takes the server's.
29
+
26
30
  -------------------
27
31
 
28
32
  Classes
@@ -38,6 +42,10 @@ Classes
38
42
  .. automethod:: join
39
43
  .. automethod:: stop
40
44
 
45
+ .. versionchanged:: 2.9.0
46
+ :pr:`78`: the ``zone`` parameter. ``bundlesize`` is now the bundle size the client requests
47
+ from the server, and by default it requests none and takes the server's.
48
+
41
49
  |
42
50
 
43
51
  .. admonition:: Important Note
@@ -51,6 +51,10 @@ Classes
51
51
 
52
52
  |
53
53
 
54
+ .. versionchanged:: 2.9.0
55
+ Each cluster class takes a ``from_json`` parameter (:pr:`48`) and a ``zone`` parameter
56
+ (:pr:`78`).
57
+
54
58
  .. autoclass:: hypershell.cluster.local.LocalCluster
55
59
  :show-inheritance:
56
60
 
@@ -79,6 +83,9 @@ Classes
79
83
  .. automethod:: join
80
84
  .. automethod:: stop
81
85
 
86
+ .. versionchanged:: 2.9.0
87
+ :pr:`82`: the ``evict_after`` parameter.
88
+
82
89
  |
83
90
 
84
91
  .. autoclass:: hypershell.cluster.ssh.SSHCluster
@@ -21,6 +21,10 @@ Functions
21
21
 
22
22
  |
23
23
 
24
+ .. versionchanged:: 2.9.0
25
+ :pr:`69`: :func:`initdb`, :func:`checkdb` and :func:`ensuredb` upgrade an existing database
26
+ from an earlier release in place.
27
+
24
28
  .. autofunction:: initdb
25
29
 
26
30
  |
@@ -35,6 +39,9 @@ Functions
35
39
 
36
40
  .. autofunction:: upgradedb
37
41
 
42
+ .. versionadded:: 2.9.0
43
+ :pr:`69`
44
+
38
45
  |
39
46
 
40
47
  .. autofunction:: truncatedb
@@ -55,6 +55,10 @@ Classes
55
55
  .. automethod:: join
56
56
  .. automethod:: stop
57
57
 
58
+ .. versionchanged:: 2.9.0
59
+ :pr:`48`: the ``template`` and ``from_json`` parameters. :pr:`76`: ``start`` raises a failure
60
+ to start the queue, such as an address already in use, in the caller.
61
+
58
62
  |
59
63
 
60
64
  .. warning::
@@ -23,6 +23,9 @@ Functions
23
23
 
24
24
  .. autofunction:: submit_from
25
25
 
26
+ .. versionchanged:: 2.9.0
27
+ :pr:`48`: ``source`` may yield dictionaries as well as strings, as ``--from-json`` does.
28
+
26
29
  |
27
30
 
28
31
  .. autofunction:: submit_file
@@ -34,6 +37,9 @@ Classes
34
37
 
35
38
  |
36
39
 
40
+ .. versionchanged:: 2.9.0
41
+ :pr:`48`: ``source`` on both classes may yield dictionaries as well as strings.
42
+
37
43
  .. autoclass:: SubmitThread
38
44
  :show-inheritance:
39
45
 
@@ -0,0 +1,25 @@
1
+ .. _cli_client:
2
+
3
+ Client
4
+ ======
5
+
6
+ Usage
7
+ -----
8
+
9
+ .. include:: ../_include/client_usage.rst
10
+
11
+ Description
12
+ -----------
13
+
14
+ .. include:: ../_include/client_desc.rst
15
+
16
+ |
17
+
18
+ .. versionadded:: 2.9.0
19
+ ``--zone`` (:pr:`78`).
20
+
21
+ .. versionchanged:: 2.9.0
22
+ :pr:`78`: the client requests each bundle from the server, and ``-b``/``--bundlesize`` is the
23
+ size it asks for; left unset, the server's size applies.
24
+
25
+ .. include:: ../_include/client_help.rst
@@ -0,0 +1,25 @@
1
+ .. _cli_cluster:
2
+
3
+ Cluster
4
+ =======
5
+
6
+ Usage
7
+ -----
8
+
9
+ .. include:: ../_include/cluster_usage.rst
10
+
11
+ Description
12
+ -----------
13
+
14
+ .. include:: ../_include/cluster_desc.rst
15
+
16
+ |
17
+
18
+ .. versionadded:: 2.9.0
19
+ ``--from-json`` (:pr:`48`); ``--repeat`` and ``--update`` (:pr:`50`); ``--zone`` (:pr:`78`).
20
+
21
+ .. versionchanged:: 2.9.0
22
+ :pr:`50`: ``--restart`` with a *FILE* submits only the tasks that never landed, and a file
23
+ that was already submitted is refused unless ``--repeat`` or ``--update`` is given.
24
+
25
+ .. include:: ../_include/cluster_help.rst
@@ -0,0 +1,23 @@
1
+ .. _cli_initdb:
2
+
3
+ Initdb
4
+ ======
5
+
6
+ Usage
7
+ -----
8
+
9
+ .. include:: ../_include/initdb_usage.rst
10
+
11
+ Description
12
+ -----------
13
+
14
+ .. include:: ../_include/initdb_desc.rst
15
+
16
+ |
17
+
18
+ .. versionchanged:: 2.9.0
19
+ :pr:`69`: an existing database from an earlier release is upgraded in place on first use.
20
+ :pr:`59`: ``--rotate`` records the partition in each moved task's ``part`` column, not a
21
+ ``part:N`` tag.
22
+
23
+ .. include:: ../_include/initdb_help.rst
@@ -3,6 +3,9 @@
3
3
  Relay
4
4
  =====
5
5
 
6
+ .. versionadded:: 2.9.0
7
+ :pr:`82`
8
+
6
9
  Usage
7
10
  -----
8
11
 
@@ -15,4 +15,8 @@ Description
15
15
 
16
16
  |
17
17
 
18
+ .. versionchanged:: 2.9.0
19
+ :pr:`78`: clients request their bundles; ``-b``/``--bundlesize`` applies to a client that asks
20
+ for no size of its own, and ``server.bundlemax`` caps every reply.
21
+
18
22
  .. include:: ../_include/server_help.rst
@@ -0,0 +1,26 @@
1
+ .. _cli_submit:
2
+
3
+ Submit
4
+ ======
5
+
6
+ Usage
7
+ -----
8
+
9
+ .. include:: ../_include/submit_usage.rst
10
+
11
+ Description
12
+ -----------
13
+
14
+ .. include:: ../_include/submit_desc.rst
15
+
16
+ |
17
+
18
+ .. versionadded:: 2.9.0
19
+ ``--from-json`` (:pr:`48`); ``--repeat`` and ``--update`` (:pr:`50`); ``--zone`` (:pr:`78`).
20
+
21
+ .. versionchanged:: 2.9.0
22
+ :pr:`50`: submitting a named task file that was already submitted is refused unless
23
+ ``--repeat`` or ``--update`` is given. :pr:`78`: ``-q``/``--queue`` needs a server started
24
+ with ``--no-db``.
25
+
26
+ .. include:: ../_include/submit_help.rst