jayrun 0.3.1__tar.gz → 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. {jayrun-0.3.1 → jayrun-0.3.2}/CHANGELOG.md +14 -0
  2. {jayrun-0.3.1/jayrun.egg-info → jayrun-0.3.2}/PKG-INFO +2 -2
  3. {jayrun-0.3.1 → jayrun-0.3.2}/README.md +1 -1
  4. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/__init__.py +1 -1
  5. jayrun-0.3.2/jayrun/engine/scheduler/_windows_memory.py +61 -0
  6. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/scheduler/memory.py +7 -0
  7. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/_database.py +2 -1
  8. {jayrun-0.3.1 → jayrun-0.3.2/jayrun.egg-info}/PKG-INFO +2 -2
  9. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun.egg-info/SOURCES.txt +1 -0
  10. {jayrun-0.3.1 → jayrun-0.3.2}/pyproject.toml +1 -1
  11. {jayrun-0.3.1 → jayrun-0.3.2}/LICENSE +0 -0
  12. {jayrun-0.3.1 → jayrun-0.3.2}/MANIFEST.in +0 -0
  13. {jayrun-0.3.1 → jayrun-0.3.2}/NOTICE +0 -0
  14. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/authority.py +0 -0
  15. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/context.py +0 -0
  16. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/artifact/base.py +0 -0
  17. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/artifact/context.py +0 -0
  18. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/artifact/field.py +0 -0
  19. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/artifact/properties.py +0 -0
  20. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/base/error.py +0 -0
  21. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/config/context.py +0 -0
  22. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/config/field.py +0 -0
  23. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/config/values.py +0 -0
  24. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/context/base.py +0 -0
  25. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/context/runtime_data.py +0 -0
  26. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/declaration/field.py +0 -0
  27. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/_identity.py +0 -0
  28. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/_specifier_compat.py +0 -0
  29. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/artifact_flow.py +0 -0
  30. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/compiled_graph.py +0 -0
  31. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/declaration_report.py +0 -0
  32. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/definition/__init__.py +0 -0
  33. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/definition/artifact.py +0 -0
  34. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/definition/data.py +0 -0
  35. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/definition/field.py +0 -0
  36. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/definition/requirement.py +0 -0
  37. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/definition/serializer.py +0 -0
  38. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/graph_component.py +0 -0
  39. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/graph_definition.py +0 -0
  40. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/graph_layout.py +0 -0
  41. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/graph_registry.py +0 -0
  42. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/graph_specification.py +0 -0
  43. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/graph_state.py +0 -0
  44. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/inspection/artifact.py +0 -0
  45. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/inspection/field.py +0 -0
  46. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/inspection/graph.py +0 -0
  47. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/inspection/registry.py +0 -0
  48. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/inspection/requirement.py +0 -0
  49. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/inspection/resource.py +0 -0
  50. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/inspection/serializer.py +0 -0
  51. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/operator_reference.py +0 -0
  52. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/registry/__init__.py +0 -0
  53. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/registry/artifact.py +0 -0
  54. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/registry/config.py +0 -0
  55. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/registry/data.py +0 -0
  56. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/registry/field.py +0 -0
  57. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/registry/resource.py +0 -0
  58. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/reporting.py +0 -0
  59. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/graph/requirements.py +0 -0
  60. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/operator/base.py +0 -0
  61. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/resource/base.py +0 -0
  62. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/resource/context.py +0 -0
  63. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/resource/field.py +0 -0
  64. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/serializer/__init__.py +0 -0
  65. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/serializer/base.py +0 -0
  66. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/validation/__init__.py +0 -0
  67. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/validation/artifact.py +0 -0
  68. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/validation/graph.py +0 -0
  69. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/validation/plotting.py +0 -0
  70. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/core/validation/validation.py +0 -0
  71. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/__init__.py +0 -0
  72. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_client.py +0 -0
  73. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_evidence.py +0 -0
  74. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_graph.py +0 -0
  75. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_history.py +0 -0
  76. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_location.py +0 -0
  77. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_observation.py +0 -0
  78. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_page.py +0 -0
  79. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_service.py +0 -0
  80. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_style.py +0 -0
  81. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/dashboard/_workspace.py +0 -0
  82. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/_capture_values.py +0 -0
  83. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/_history.py +0 -0
  84. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/_timing.py +0 -0
  85. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/api.py +0 -0
  86. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/artifact/__init__.py +0 -0
  87. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/artifact/actor.py +0 -0
  88. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/artifact/result.py +0 -0
  89. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/artifact/state.py +0 -0
  90. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/artifact/store.py +0 -0
  91. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/base/runtime_module.py +0 -0
  92. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/context_manager.py +0 -0
  93. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/context_outcome.py +0 -0
  94. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/execution_context.py +0 -0
  95. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/execution_proxy.py +0 -0
  96. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/execution_session.py +0 -0
  97. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/execution_state.py +0 -0
  98. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/execution_step.py +0 -0
  99. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/execution_tracker.py +0 -0
  100. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/resource_key.py +0 -0
  101. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context/step_reference.py +0 -0
  102. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/context_run.py +0 -0
  103. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/coordinator/__init__.py +0 -0
  104. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/coordinator/batch_size_estimator.py +0 -0
  105. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/coordinator/coordinator.py +0 -0
  106. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/coordinator/message_queue.py +0 -0
  107. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/coordinator/runtime_loop.py +0 -0
  108. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/coordinator/state.py +0 -0
  109. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/coordinator/timeout_estimator.py +0 -0
  110. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/engine_state.py +0 -0
  111. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/execution/async_executor.py +0 -0
  112. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/execution/execution_mode.py +0 -0
  113. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/execution/executor_manager.py +0 -0
  114. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/execution/thread_executor.py +0 -0
  115. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/gateway/engine_gateway.py +0 -0
  116. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/history_budget.py +0 -0
  117. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/base.py +0 -0
  118. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/context.py +0 -0
  119. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/context_record.py +0 -0
  120. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/execution.py +0 -0
  121. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/placement.py +0 -0
  122. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/runtime.py +0 -0
  123. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/services/accesses.py +0 -0
  124. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/services/context.py +0 -0
  125. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/services/control.py +0 -0
  126. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/interfaces/services/storage.py +0 -0
  127. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/limits.py +0 -0
  128. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/__init__.py +0 -0
  129. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/capability.py +0 -0
  130. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/__init__.py +0 -0
  131. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/abort_context.py +0 -0
  132. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/apply_snapshot.py +0 -0
  133. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/pause_context.py +0 -0
  134. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/reconcile_contexts.py +0 -0
  135. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/record_context.py +0 -0
  136. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/resume_context.py +0 -0
  137. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/retrieve_session.py +0 -0
  138. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/shutdown_runtime.py +0 -0
  139. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/start_context.py +0 -0
  140. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/stop_context.py +0 -0
  141. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/commands/transfer_context.py +0 -0
  142. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/events/__init__.py +0 -0
  143. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/events/context_admitted.py +0 -0
  144. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/events/context_registered.py +0 -0
  145. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/events/context_terminated.py +0 -0
  146. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/events/runtime_idle.py +0 -0
  147. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/origin.py +0 -0
  148. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/runtime_message.py +0 -0
  149. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/messages/runtime_messenger.py +0 -0
  150. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/observation.py +0 -0
  151. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/pressure.py +0 -0
  152. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/progress.py +0 -0
  153. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/progress_history.py +0 -0
  154. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/__init__.py +0 -0
  155. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/artifact/__init__.py +0 -0
  156. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/artifact/artifact_state.py +0 -0
  157. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/artifact/debug_recorder.py +0 -0
  158. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/artifact/production_recorder.py +0 -0
  159. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/artifact/record.py +0 -0
  160. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/artifact/recorder.py +0 -0
  161. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/artifact/state.py +0 -0
  162. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/context/__init__.py +0 -0
  163. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/context/debug_recorder.py +0 -0
  164. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/context/production_recorder.py +0 -0
  165. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/context/recorder.py +0 -0
  166. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/context/report.py +0 -0
  167. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/context/state.py +0 -0
  168. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/execution/__init__.py +0 -0
  169. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/execution/debug_recorder.py +0 -0
  170. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/execution/production_recorder.py +0 -0
  171. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/execution/recorder.py +0 -0
  172. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/execution/records.py +0 -0
  173. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/recorders/execution/state.py +0 -0
  174. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/registry/__init__.py +0 -0
  175. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/registry/context_id_generator.py +0 -0
  176. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/registry/context_instance.py +0 -0
  177. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/registry/context_state.py +0 -0
  178. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/registry/context_status.py +0 -0
  179. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/registry/runtime_registry.py +0 -0
  180. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/resource/__init__.py +0 -0
  181. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/resource/cached_resource.py +0 -0
  182. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/resource/device_allocator.py +0 -0
  183. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/resource/placement.py +0 -0
  184. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/resource/placement_controller.py +0 -0
  185. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/resource/placement_request.py +0 -0
  186. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/resource/resource_manager.py +0 -0
  187. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/resource/resource_state.py +0 -0
  188. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/runtime.py +0 -0
  189. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/scheduler/context.py +0 -0
  190. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/settings/__init__.py +0 -0
  191. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/settings/_instrumentation.py +0 -0
  192. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/settings/combined_context.py +0 -0
  193. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/settings/context.py +0 -0
  194. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/settings/engine.py +0 -0
  195. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/snapshot.py +0 -0
  196. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/submission.py +0 -0
  197. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/supervisor.py +0 -0
  198. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/engine/terminal_history.py +0 -0
  199. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/inspection.py +0 -0
  200. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/__init__.py +0 -0
  201. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/_sqlite.py +0 -0
  202. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/backend.py +0 -0
  203. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/errors.py +0 -0
  204. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/legacy.py +0 -0
  205. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/policy.py +0 -0
  206. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/records.py +0 -0
  207. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/persistence/values.py +0 -0
  208. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/placement.py +0 -0
  209. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/properties.py +0 -0
  210. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/py.typed +0 -0
  211. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/registry.py +0 -0
  212. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/reporting/__init__.py +0 -0
  213. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/reporting/_completed.py +0 -0
  214. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/reporting/_history.py +0 -0
  215. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/serialization.py +0 -0
  216. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/settings.py +0 -0
  217. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/validation.py +0 -0
  218. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/__init__.py +0 -0
  219. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_copy.js +0 -0
  220. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_facade.py +0 -0
  221. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_help/__init__.py +0 -0
  222. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_help/content.js +0 -0
  223. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_help/controller.js +0 -0
  224. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_help/style.css +0 -0
  225. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_legacy.py +0 -0
  226. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_run.js +0 -0
  227. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_segments.py +0 -0
  228. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_theme.css +0 -0
  229. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_workspace.css +0 -0
  230. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_workspace.js +0 -0
  231. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/_workspace.py +0 -0
  232. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/adapters/__init__.py +0 -0
  233. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/adapters/_legacy_history.py +0 -0
  234. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/adapters/_requirements.py +0 -0
  235. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/adapters/completed.py +0 -0
  236. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/adapters/definition.py +0 -0
  237. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/adapters/history.py +0 -0
  238. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/adapters/live.py +0 -0
  239. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/adapters/registry.py +0 -0
  240. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/colors.py +0 -0
  241. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/contract.py +0 -0
  242. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/layout.py +0 -0
  243. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/renderer.py +0 -0
  244. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/viewer.css +0 -0
  245. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun/visualization/viewer.js +0 -0
  246. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun.egg-info/dependency_links.txt +0 -0
  247. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun.egg-info/requires.txt +0 -0
  248. {jayrun-0.3.1 → jayrun-0.3.2}/jayrun.egg-info/top_level.txt +0 -0
  249. {jayrun-0.3.1 → jayrun-0.3.2}/setup.cfg +0 -0
@@ -4,6 +4,18 @@ All notable changes to Jayrun are documented in this file.
4
4
 
5
5
  Release notes describe new capabilities, compatibility changes and fixes.
6
6
 
7
+ ## [0.3.2] - 2026-11-22
8
+
9
+ ### Fixed
10
+
11
+ - On Windows, context admission and `Engine.pressure` now read available
12
+ physical memory and the process's current working set through Win32. This
13
+ fixes an `AttributeError` during pressure sampling and allows the scheduler
14
+ to enforce a configured CPU memory limit and resume queued work after recovery.
15
+ - On Windows, `Database()` now uses `LOCALAPPDATA` when set, including in
16
+ processes without a home directory. It consults the user profile only
17
+ when it needs the fallback path.
18
+
7
19
  ## [0.3.1] - 2026-11-17
8
20
 
9
21
  ### Added
@@ -171,3 +183,5 @@ for supported imports, complete examples and operational limits.
171
183
  [0.3.0]: https://github.com/jayrun-project/jayrun/compare/v0.2.0...v0.3.0
172
184
 
173
185
  [0.3.1]: https://github.com/jayrun-project/jayrun/compare/v0.3.0...v0.3.1
186
+
187
+ [0.3.2]: https://github.com/jayrun-project/jayrun/compare/v0.3.1...v0.3.2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jayrun
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Artifact-centric execution for iterative graphs, shared resources, and placement-aware workloads
5
5
  Author: Masoud Yavari
6
6
  License-Expression: Apache-2.0
@@ -37,7 +37,7 @@ Dynamic: license-file
37
37
 
38
38
  Jayrun is a Python execution framework for pipelines, iterative experiments and application services. Define each step with a synchronous or asynchronous Python method. Jayrun passes artifact values between the steps and manages execution and resource lifetimes.
39
39
 
40
- **Latest release:** [0.3.1](https://pypi.org/project/jayrun/0.3.1/) · [Release notes](CHANGELOG.md#031---2026-11-17)
40
+ **Latest release:** [0.3.2](https://pypi.org/project/jayrun/0.3.2/) · [Release notes](CHANGELOG.md#032---2026-11-22)
41
41
 
42
42
  [![PyPI version](https://img.shields.io/pypi/v/jayrun.svg)](https://pypi.org/project/jayrun/)
43
43
  [![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)
@@ -4,7 +4,7 @@
4
4
 
5
5
  Jayrun is a Python execution framework for pipelines, iterative experiments and application services. Define each step with a synchronous or asynchronous Python method. Jayrun passes artifact values between the steps and manages execution and resource lifetimes.
6
6
 
7
- **Latest release:** [0.3.1](https://pypi.org/project/jayrun/0.3.1/) · [Release notes](CHANGELOG.md#031---2026-11-17)
7
+ **Latest release:** [0.3.2](https://pypi.org/project/jayrun/0.3.2/) · [Release notes](CHANGELOG.md#032---2026-11-22)
8
8
 
9
9
  [![PyPI version](https://img.shields.io/pypi/v/jayrun.svg)](https://pypi.org/project/jayrun/)
10
10
  [![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)
@@ -24,7 +24,7 @@ if TYPE_CHECKING:
24
24
  from .engine.engine_state import EngineState, RuntimeActivity
25
25
  from .registry import GraphRegistry
26
26
 
27
- __version__ = "0.3.1"
27
+ __version__ = "0.3.2"
28
28
 
29
29
  __all__ = (
30
30
  "__version__", "Artifact", "ArtifactContext", "ArtifactField", "ArtifactFlow",
@@ -0,0 +1,61 @@
1
+ """Win32 physical-memory readings for scheduler admission, in bytes."""
2
+
3
+ import ctypes
4
+
5
+
6
+ class _MemoryStatusEx(ctypes.Structure):
7
+ _fields_ = [
8
+ ("dwLength", ctypes.c_uint32),
9
+ ("dwMemoryLoad", ctypes.c_uint32),
10
+ ("ullTotalPhys", ctypes.c_uint64),
11
+ ("ullAvailPhys", ctypes.c_uint64),
12
+ ("ullTotalPageFile", ctypes.c_uint64),
13
+ ("ullAvailPageFile", ctypes.c_uint64),
14
+ ("ullTotalVirtual", ctypes.c_uint64),
15
+ ("ullAvailVirtual", ctypes.c_uint64),
16
+ ("ullAvailExtendedVirtual", ctypes.c_uint64),
17
+ ]
18
+
19
+
20
+ class _ProcessMemoryCounters(ctypes.Structure):
21
+ _fields_ = [
22
+ ("cb", ctypes.c_uint32),
23
+ ("PageFaultCount", ctypes.c_uint32),
24
+ ("PeakWorkingSetSize", ctypes.c_size_t),
25
+ ("WorkingSetSize", ctypes.c_size_t),
26
+ ("QuotaPeakPagedPoolUsage", ctypes.c_size_t),
27
+ ("QuotaPagedPoolUsage", ctypes.c_size_t),
28
+ ("QuotaPeakNonPagedPoolUsage", ctypes.c_size_t),
29
+ ("QuotaNonPagedPoolUsage", ctypes.c_size_t),
30
+ ("PagefileUsage", ctypes.c_size_t),
31
+ ("PeakPagefileUsage", ctypes.c_size_t),
32
+ ]
33
+
34
+
35
+ _kernel32 = ctypes.WinDLL("kernel32")
36
+ _kernel32.GlobalMemoryStatusEx.argtypes = (ctypes.POINTER(_MemoryStatusEx),)
37
+ _kernel32.GlobalMemoryStatusEx.restype = ctypes.c_int
38
+ _kernel32.GetCurrentProcess.argtypes = ()
39
+ _kernel32.GetCurrentProcess.restype = ctypes.c_void_p
40
+ _kernel32.K32GetProcessMemoryInfo.argtypes = (
41
+ ctypes.c_void_p, ctypes.POINTER(_ProcessMemoryCounters), ctypes.c_uint32,
42
+ )
43
+ _kernel32.K32GetProcessMemoryInfo.restype = ctypes.c_int
44
+ # GetCurrentProcess returns a pseudo-handle valid for this process's lifetime.
45
+ _current_process = _kernel32.GetCurrentProcess()
46
+
47
+
48
+ def process_usage() -> int | None:
49
+ counters = _ProcessMemoryCounters()
50
+ counters.cb = ctypes.sizeof(counters)
51
+ if _kernel32.K32GetProcessMemoryInfo(_current_process, ctypes.byref(counters), counters.cb):
52
+ return counters.WorkingSetSize
53
+ return None
54
+
55
+
56
+ def system_memory() -> tuple[int | None, int | None]:
57
+ status = _MemoryStatusEx()
58
+ status.dwLength = ctypes.sizeof(status)
59
+ if _kernel32.GlobalMemoryStatusEx(ctypes.byref(status)):
60
+ return status.ullTotalPhys, status.ullAvailPhys
61
+ return None, None
@@ -7,6 +7,9 @@ from pathlib import Path
7
7
 
8
8
  from ..resource.placement_request import capacity_bytes
9
9
 
10
+ if sys.platform == "win32":
11
+ from . import _windows_memory
12
+
10
13
  try:
11
14
  import resource
12
15
  except ImportError:
@@ -77,6 +80,8 @@ class MemoryPressureMonitor:
77
80
  return int(values[1]) * cls._page_size()
78
81
  except (IndexError, OSError, ValueError):
79
82
  pass
83
+ elif sys.platform == "win32":
84
+ return _windows_memory.process_usage()
80
85
  if resource is None:
81
86
  return None
82
87
  try:
@@ -87,6 +92,8 @@ class MemoryPressureMonitor:
87
92
 
88
93
  @classmethod
89
94
  def _system_memory(cls) -> tuple[int | None, int | None]:
95
+ if sys.platform == "win32":
96
+ return _windows_memory.system_memory()
90
97
  capacity, available = cls._proc_memory()
91
98
  if capacity is None:
92
99
  capacity = cls._sysconf_memory("SC_PHYS_PAGES")
@@ -33,7 +33,8 @@ Result = TypeVar("Result")
33
33
 
34
34
  def _default_path() -> Path:
35
35
  if sys.platform == "win32":
36
- root = Path(os.environ.get("LOCALAPPDATA", str(Path.home() / "AppData" / "Local")))
36
+ local_app_data = os.environ.get("LOCALAPPDATA")
37
+ root = Path(local_app_data) if local_app_data is not None else Path.home() / "AppData" / "Local"
37
38
  return root / "Jayrun" / "history.sqlite3"
38
39
  if sys.platform == "darwin":
39
40
  return Path.home() / "Library" / "Application Support" / "Jayrun" / "history.sqlite3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jayrun
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Artifact-centric execution for iterative graphs, shared resources, and placement-aware workloads
5
5
  Author: Masoud Yavari
6
6
  License-Expression: Apache-2.0
@@ -37,7 +37,7 @@ Dynamic: license-file
37
37
 
38
38
  Jayrun is a Python execution framework for pipelines, iterative experiments and application services. Define each step with a synchronous or asynchronous Python method. Jayrun passes artifact values between the steps and manages execution and resource lifetimes.
39
39
 
40
- **Latest release:** [0.3.1](https://pypi.org/project/jayrun/0.3.1/) · [Release notes](CHANGELOG.md#031---2026-11-17)
40
+ **Latest release:** [0.3.2](https://pypi.org/project/jayrun/0.3.2/) · [Release notes](CHANGELOG.md#032---2026-11-22)
41
41
 
42
42
  [![PyPI version](https://img.shields.io/pypi/v/jayrun.svg)](https://pypi.org/project/jayrun/)
43
43
  [![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)
@@ -197,6 +197,7 @@ jayrun/engine/resource/placement_controller.py
197
197
  jayrun/engine/resource/placement_request.py
198
198
  jayrun/engine/resource/resource_manager.py
199
199
  jayrun/engine/resource/resource_state.py
200
+ jayrun/engine/scheduler/_windows_memory.py
200
201
  jayrun/engine/scheduler/context.py
201
202
  jayrun/engine/scheduler/memory.py
202
203
  jayrun/engine/settings/__init__.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "jayrun"
7
- version = "0.3.1"
7
+ version = "0.3.2"
8
8
  description = "Artifact-centric execution for iterative graphs, shared resources, and placement-aware workloads"
9
9
  readme = {file = "README.md", content-type = "text/markdown"}
10
10
  license = "Apache-2.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes