jayrun 0.3.2__tar.gz → 0.3.4__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 (250) hide show
  1. {jayrun-0.3.2 → jayrun-0.3.4}/CHANGELOG.md +25 -0
  2. {jayrun-0.3.2/jayrun.egg-info → jayrun-0.3.4}/PKG-INFO +63 -41
  3. jayrun-0.3.4/README.md +153 -0
  4. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/__init__.py +1 -1
  5. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_client.py +159 -39
  6. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_evidence.py +24 -0
  7. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_history.py +31 -10
  8. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_page.py +1 -1
  9. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_service.py +1 -1
  10. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_workspace.py +97 -16
  11. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/context.py +5 -0
  12. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/_database.py +9 -5
  13. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/_sqlite.py +32 -8
  14. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/records.py +20 -1
  15. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_help/content.js +2 -2
  16. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_run.js +2 -1
  17. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_theme.css +9 -0
  18. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_workspace.css +48 -0
  19. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_workspace.js +44 -7
  20. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/viewer.css +3 -3
  21. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/viewer.js +69 -21
  22. {jayrun-0.3.2 → jayrun-0.3.4/jayrun.egg-info}/PKG-INFO +63 -41
  23. {jayrun-0.3.2 → jayrun-0.3.4}/pyproject.toml +1 -1
  24. jayrun-0.3.2/README.md +0 -131
  25. {jayrun-0.3.2 → jayrun-0.3.4}/LICENSE +0 -0
  26. {jayrun-0.3.2 → jayrun-0.3.4}/MANIFEST.in +0 -0
  27. {jayrun-0.3.2 → jayrun-0.3.4}/NOTICE +0 -0
  28. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/authority.py +0 -0
  29. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/context.py +0 -0
  30. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/artifact/base.py +0 -0
  31. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/artifact/context.py +0 -0
  32. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/artifact/field.py +0 -0
  33. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/artifact/properties.py +0 -0
  34. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/base/error.py +0 -0
  35. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/config/context.py +0 -0
  36. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/config/field.py +0 -0
  37. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/config/values.py +0 -0
  38. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/context/base.py +0 -0
  39. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/context/runtime_data.py +0 -0
  40. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/declaration/field.py +0 -0
  41. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/_identity.py +0 -0
  42. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/_specifier_compat.py +0 -0
  43. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/artifact_flow.py +0 -0
  44. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/compiled_graph.py +0 -0
  45. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/declaration_report.py +0 -0
  46. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/__init__.py +0 -0
  47. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/artifact.py +0 -0
  48. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/data.py +0 -0
  49. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/field.py +0 -0
  50. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/requirement.py +0 -0
  51. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/serializer.py +0 -0
  52. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_component.py +0 -0
  53. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_definition.py +0 -0
  54. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_layout.py +0 -0
  55. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_registry.py +0 -0
  56. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_specification.py +0 -0
  57. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_state.py +0 -0
  58. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/artifact.py +0 -0
  59. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/field.py +0 -0
  60. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/graph.py +0 -0
  61. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/registry.py +0 -0
  62. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/requirement.py +0 -0
  63. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/resource.py +0 -0
  64. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/serializer.py +0 -0
  65. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/operator_reference.py +0 -0
  66. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/__init__.py +0 -0
  67. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/artifact.py +0 -0
  68. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/config.py +0 -0
  69. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/data.py +0 -0
  70. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/field.py +0 -0
  71. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/resource.py +0 -0
  72. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/reporting.py +0 -0
  73. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/requirements.py +0 -0
  74. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/operator/base.py +0 -0
  75. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/resource/base.py +0 -0
  76. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/resource/context.py +0 -0
  77. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/resource/field.py +0 -0
  78. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/serializer/__init__.py +0 -0
  79. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/serializer/base.py +0 -0
  80. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/__init__.py +0 -0
  81. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/artifact.py +0 -0
  82. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/graph.py +0 -0
  83. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/plotting.py +0 -0
  84. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/validation.py +0 -0
  85. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/__init__.py +0 -0
  86. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_graph.py +0 -0
  87. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_location.py +0 -0
  88. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_observation.py +0 -0
  89. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_style.py +0 -0
  90. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/_capture_values.py +0 -0
  91. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/_history.py +0 -0
  92. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/_timing.py +0 -0
  93. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/api.py +0 -0
  94. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/__init__.py +0 -0
  95. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/actor.py +0 -0
  96. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/result.py +0 -0
  97. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/state.py +0 -0
  98. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/store.py +0 -0
  99. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/base/runtime_module.py +0 -0
  100. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/context_manager.py +0 -0
  101. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/context_outcome.py +0 -0
  102. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_context.py +0 -0
  103. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_proxy.py +0 -0
  104. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_session.py +0 -0
  105. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_state.py +0 -0
  106. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_step.py +0 -0
  107. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_tracker.py +0 -0
  108. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/resource_key.py +0 -0
  109. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/step_reference.py +0 -0
  110. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context_run.py +0 -0
  111. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/__init__.py +0 -0
  112. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/batch_size_estimator.py +0 -0
  113. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/coordinator.py +0 -0
  114. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/message_queue.py +0 -0
  115. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/runtime_loop.py +0 -0
  116. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/state.py +0 -0
  117. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/timeout_estimator.py +0 -0
  118. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/engine_state.py +0 -0
  119. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/execution/async_executor.py +0 -0
  120. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/execution/execution_mode.py +0 -0
  121. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/execution/executor_manager.py +0 -0
  122. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/execution/thread_executor.py +0 -0
  123. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/gateway/engine_gateway.py +0 -0
  124. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/history_budget.py +0 -0
  125. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/base.py +0 -0
  126. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/context_record.py +0 -0
  127. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/execution.py +0 -0
  128. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/placement.py +0 -0
  129. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/runtime.py +0 -0
  130. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/services/accesses.py +0 -0
  131. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/services/context.py +0 -0
  132. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/services/control.py +0 -0
  133. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/services/storage.py +0 -0
  134. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/limits.py +0 -0
  135. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/__init__.py +0 -0
  136. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/capability.py +0 -0
  137. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/__init__.py +0 -0
  138. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/abort_context.py +0 -0
  139. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/apply_snapshot.py +0 -0
  140. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/pause_context.py +0 -0
  141. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/reconcile_contexts.py +0 -0
  142. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/record_context.py +0 -0
  143. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/resume_context.py +0 -0
  144. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/retrieve_session.py +0 -0
  145. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/shutdown_runtime.py +0 -0
  146. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/start_context.py +0 -0
  147. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/stop_context.py +0 -0
  148. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/transfer_context.py +0 -0
  149. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/__init__.py +0 -0
  150. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/context_admitted.py +0 -0
  151. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/context_registered.py +0 -0
  152. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/context_terminated.py +0 -0
  153. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/runtime_idle.py +0 -0
  154. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/origin.py +0 -0
  155. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/runtime_message.py +0 -0
  156. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/runtime_messenger.py +0 -0
  157. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/observation.py +0 -0
  158. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/pressure.py +0 -0
  159. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/progress.py +0 -0
  160. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/progress_history.py +0 -0
  161. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/__init__.py +0 -0
  162. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/__init__.py +0 -0
  163. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/artifact_state.py +0 -0
  164. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/debug_recorder.py +0 -0
  165. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/production_recorder.py +0 -0
  166. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/record.py +0 -0
  167. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/recorder.py +0 -0
  168. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/state.py +0 -0
  169. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/__init__.py +0 -0
  170. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/debug_recorder.py +0 -0
  171. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/production_recorder.py +0 -0
  172. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/recorder.py +0 -0
  173. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/report.py +0 -0
  174. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/state.py +0 -0
  175. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/__init__.py +0 -0
  176. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/debug_recorder.py +0 -0
  177. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/production_recorder.py +0 -0
  178. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/recorder.py +0 -0
  179. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/records.py +0 -0
  180. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/state.py +0 -0
  181. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/__init__.py +0 -0
  182. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/context_id_generator.py +0 -0
  183. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/context_instance.py +0 -0
  184. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/context_state.py +0 -0
  185. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/context_status.py +0 -0
  186. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/runtime_registry.py +0 -0
  187. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/__init__.py +0 -0
  188. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/cached_resource.py +0 -0
  189. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/device_allocator.py +0 -0
  190. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/placement.py +0 -0
  191. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/placement_controller.py +0 -0
  192. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/placement_request.py +0 -0
  193. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/resource_manager.py +0 -0
  194. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/resource_state.py +0 -0
  195. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/runtime.py +0 -0
  196. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/scheduler/_windows_memory.py +0 -0
  197. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/scheduler/context.py +0 -0
  198. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/scheduler/memory.py +0 -0
  199. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/__init__.py +0 -0
  200. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/_instrumentation.py +0 -0
  201. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/combined_context.py +0 -0
  202. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/context.py +0 -0
  203. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/engine.py +0 -0
  204. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/snapshot.py +0 -0
  205. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/submission.py +0 -0
  206. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/supervisor.py +0 -0
  207. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/terminal_history.py +0 -0
  208. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/inspection.py +0 -0
  209. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/__init__.py +0 -0
  210. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/backend.py +0 -0
  211. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/errors.py +0 -0
  212. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/legacy.py +0 -0
  213. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/policy.py +0 -0
  214. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/values.py +0 -0
  215. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/placement.py +0 -0
  216. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/properties.py +0 -0
  217. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/py.typed +0 -0
  218. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/registry.py +0 -0
  219. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/reporting/__init__.py +0 -0
  220. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/reporting/_completed.py +0 -0
  221. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/reporting/_history.py +0 -0
  222. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/serialization.py +0 -0
  223. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/settings.py +0 -0
  224. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/validation.py +0 -0
  225. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/__init__.py +0 -0
  226. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_copy.js +0 -0
  227. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_facade.py +0 -0
  228. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_help/__init__.py +0 -0
  229. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_help/controller.js +0 -0
  230. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_help/style.css +0 -0
  231. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_legacy.py +0 -0
  232. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_segments.py +0 -0
  233. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_workspace.py +0 -0
  234. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/__init__.py +0 -0
  235. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/_legacy_history.py +0 -0
  236. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/_requirements.py +0 -0
  237. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/completed.py +0 -0
  238. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/definition.py +0 -0
  239. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/history.py +0 -0
  240. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/live.py +0 -0
  241. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/registry.py +0 -0
  242. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/colors.py +0 -0
  243. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/contract.py +0 -0
  244. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/layout.py +0 -0
  245. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/renderer.py +0 -0
  246. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun.egg-info/SOURCES.txt +0 -0
  247. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun.egg-info/dependency_links.txt +0 -0
  248. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun.egg-info/requires.txt +0 -0
  249. {jayrun-0.3.2 → jayrun-0.3.4}/jayrun.egg-info/top_level.txt +0 -0
  250. {jayrun-0.3.2 → jayrun-0.3.4}/setup.cfg +0 -0
@@ -4,6 +4,29 @@ 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.4] - 2026-11-25
8
+
9
+ ### Added
10
+
11
+ - The dashboard's **Contexts** tab shows up to eight recently finished runs. A run keeps its searchable display ID when it finishes, including when it finishes between active-list refreshes. Open its summary or continue to scoped History.
12
+ - **Activity → Execution logs** shows retained `self.execution.log(message)` entries after finalization, labeled by step, iteration, execution and attempt. **Report** links to the logs. Application values recorded with `self.context.record(...)` remain available under **Records**.
13
+ - `HistoryQuery` supports `by_finish=True` for completion-time ordering and `identity_digest` for exact display-ID lookup. Custom storage backends serving dashboard History should support both fields. Publication order remains the default.
14
+
15
+ ### Fixed
16
+
17
+ - The active table, its quick-detail panel and the recently finished list keep their positions as jobs come and go. The active pager appears only when more than 25 matches need it. Keyboard focus and pointer selection follow short-lived runs through completion.
18
+ - History orders matching contexts before pagination and can resolve a displayed run ID from recorded SQLite history after a dashboard restart. Run summaries copy the execution engine ID, preserve captured graph names and explain when a graph definition is unavailable.
19
+ - Graph fit, zoom and pan preserve the intended point of focus. Camera position, selection and open issues survive run finalization. Narrow layouts keep the active workspace tab in view and make more room for the graph.
20
+ - The documentation corrects the first-graph walkthrough, input ownership and recording-mode examples. Eight retired chapter URLs now lead to their replacements within the same manual version.
21
+
22
+ ## [0.3.3] - 2026-11-23
23
+
24
+ ### Added
25
+
26
+ - Operators and resource setup hooks can read the current graph iteration from
27
+ `self.context.iteration`. It starts at 1 and stays the same when an operator
28
+ repeats or an invocation retries within that iteration.
29
+
7
30
  ## [0.3.2] - 2026-11-22
8
31
 
9
32
  ### Fixed
@@ -185,3 +208,5 @@ for supported imports, complete examples and operational limits.
185
208
  [0.3.1]: https://github.com/jayrun-project/jayrun/compare/v0.3.0...v0.3.1
186
209
 
187
210
  [0.3.2]: https://github.com/jayrun-project/jayrun/compare/v0.3.1...v0.3.2
211
+
212
+ [0.3.3]: https://github.com/jayrun-project/jayrun/compare/v0.3.2...v0.3.3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jayrun
3
- Version: 0.3.2
3
+ Version: 0.3.4
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
@@ -35,21 +35,15 @@ Dynamic: license-file
35
35
 
36
36
  **Build, run, and inspect Python computation graphs with reusable resources and a live dashboard.**
37
37
 
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
-
40
- **Latest release:** [0.3.2](https://pypi.org/project/jayrun/0.3.2/) · [Release notes](CHANGELOG.md#032---2026-11-22)
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 steps and manages the lifetimes of intermediate results and shared resources.
41
39
 
42
40
  [![PyPI version](https://img.shields.io/pypi/v/jayrun.svg)](https://pypi.org/project/jayrun/)
43
- [![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)
41
+ [![Read the Docs](https://readthedocs.org/projects/jayrun/badge/?version=latest)](https://jayrun.readthedocs.io/en/latest/)
42
+ [![Python 3.11 or later](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)
44
43
  [![CI](https://github.com/jayrun-project/jayrun/actions/workflows/ci.yml/badge.svg)](https://github.com/jayrun-project/jayrun/actions/workflows/ci.yml)
45
- [![Documentation](https://github.com/jayrun-project/jayrun/actions/workflows/docs.yml/badge.svg)](https://github.com/jayrun-project/jayrun/actions/workflows/docs.yml)
46
- [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/jayrun-project/jayrun/blob/main/LICENSE)
47
-
48
- [Documentation](https://jayrun.readthedocs.io/en/latest/) · [Quick start](#quick-start) · [Explore the dashboard](https://jayrun.readthedocs.io/en/latest/guides/visualization/dashboard.html) · [Tutorials](#tutorials) · [API reference](https://jayrun.readthedocs.io/en/latest/reference/imports.html)
49
-
50
- [![Jayrun dashboard listing running and paused contexts with graph versions, progress and iteration counts](https://raw.githubusercontent.com/jayrun-project/jayrun/main/docs/_static/screenshots/dashboard.png)](https://jayrun.readthedocs.io/en/latest/guides/visualization/dashboard.html)
44
+ [![Apache 2.0 license](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/jayrun-project/jayrun/blob/main/LICENSE)
51
45
 
52
- *Follow running and paused work in the dashboard. Click to explore the offline preview and learn how to start your own.*
46
+ [Quick start](#quick-start) · [Documentation](https://jayrun.readthedocs.io/en/latest/) · [Tutorials](#tutorials) · [API reference](https://jayrun.readthedocs.io/en/latest/reference/imports.html) · [0.3.4 release notes](https://github.com/jayrun-project/jayrun/releases/tag/v0.3.4)
53
47
 
54
48
  ## What Jayrun does
55
49
 
@@ -59,24 +53,24 @@ Jayrun is a Python execution framework for pipelines, iterative experiments and
59
53
 
60
54
  Declare a graph once, then submit it with different inputs and configuration. Graphs can include branches, conditional routes and iteration. They can also act as observers or controllers for other work—the dashboard itself is built as a graph.
61
55
 
62
- See [the overview](https://jayrun.readthedocs.io/en/latest/start/overview.html) for applications and [data and lifetimes](https://jayrun.readthedocs.io/en/latest/start/data-and-lifetimes.html) for how artifacts, configuration and resources fit together. The example below introduces these ideas with a single calculation.
56
+ See [the overview](https://jayrun.readthedocs.io/en/latest/start/overview.html) for applications and [data and lifetimes](https://jayrun.readthedocs.io/en/latest/start/data-and-lifetimes.html) for how artifacts, configuration and resources fit together.
63
57
 
64
58
  ## Quick start
65
59
 
66
- Install Jayrun with Python 3.11 or later:
60
+ Install Jayrun with Python 3.11 or later.
67
61
 
68
62
  ```bash
69
63
  python -m pip install jayrun
70
64
  ```
71
65
 
72
- The only required third-party runtime dependency is `packaging`. Install `jayrun[yaml]` if you need YAML configuration support; workload libraries such as PyTorch are application dependencies.
73
-
74
- Save this program as `first_graph.py` and run `python first_graph.py`. It declares a multiplication, confirms the graph, supplies input and configuration, and prints `21`:
66
+ Save the following as `first_graph.py`. The `Scale` operator multiplies an input artifact by a configurable factor.
75
67
 
76
68
  ```python
77
69
  from jayrun import (
78
- Artifact, ArtifactContext, ArtifactField, ArtifactFlow, BaseOperator,
79
- ConfigContext, ConfigField, Engine, GraphDefinition,
70
+ Artifact, ArtifactContext,
71
+ ArtifactField, ArtifactFlow,
72
+ BaseOperator, ConfigContext,
73
+ ConfigField, Engine, GraphDefinition,
80
74
  )
81
75
  from jayrun.context import ContextState
82
76
 
@@ -89,16 +83,23 @@ class Scale(BaseOperator):
89
83
  self.outputs = (ArtifactField(),)
90
84
 
91
85
  def execute(self):
92
- result = self.source.value * self.factor.value
86
+ value = self.source.value
87
+ result = value * self.factor.value
93
88
  self.context.record("scaled", result)
94
89
  return result
95
90
 
96
91
 
97
92
  source = Artifact(name="source")
98
93
  result = Artifact(name="result")
99
- scale = Scale(source=source, outputs=(result,))
100
- flow = ArtifactFlow(scale, artifact=source)
101
- graph = GraphDefinition(flow, entry_flows=flow)
94
+ scale = Scale(
95
+ source=source, outputs=(result,)
96
+ )
97
+ flow = ArtifactFlow(
98
+ scale, artifact=source
99
+ )
100
+ graph = GraphDefinition(
101
+ flow, entry_flows=flow
102
+ )
102
103
  graph.confirm()
103
104
 
104
105
  with Engine() as engine:
@@ -109,41 +110,62 @@ with Engine() as engine:
109
110
  )
110
111
  run.wait(timeout=10)
111
112
  if run.state is not ContextState.FINISHED:
112
- raise RuntimeError(str(run.report.data.failure))
113
- print(run.artifact(result).value) # 21
113
+ failure = run.report.data.failure
114
+ raise RuntimeError(str(failure))
115
+ print(run.artifact(result).value)
114
116
  ```
115
117
 
116
- `ArtifactContext` supplies the input value, and `ConfigContext` supplies the multiplication factor. The constructor declares fields; Jayrun automatically binds the `source` argument to `self.source` by name and the `outputs` tuple to `self.outputs` by position.
118
+ Run the program. With input `7` and factor `3`, it prints `21`.
117
119
 
118
- Each submission returns its own `ContextRun`. `run.wait()` waits for finalization, which can include failure, so the example checks the outcome before reading the result. Execution settings separately control policies such as retries and iteration limits.
120
+ ```console
121
+ $ python first_graph.py
122
+ 21
123
+ ```
124
+
125
+ Each submission returns a `ContextRun`. Once it finalizes, check its outcome before reading the result. The [first graph walkthrough](https://jayrun.readthedocs.io/en/latest/start/first-graph.html) explains field binding, reads the recorded value and visualizes the run.
119
126
 
120
- The same confirmed graph can serve another submission. The [complete walkthrough](https://jayrun.readthedocs.io/en/latest/start/first-graph.html) explains each step, reads the recorded value and visualizes the finished run.
127
+ The core runtime requires `packaging`. Install `jayrun[yaml]` for YAML configuration. Individual applications can add libraries such as PyTorch.
121
128
 
122
129
  ## Inspect your graphs and runs
123
130
 
124
- Once you have a graph, save its structure with `graph.plot.save("graph.html")`. After execution, save the completed run with `run.plot.save("run.html")` to explore captured outcomes, timings, records and reports. Both create interactive HTML viewers that open in a browser.
131
+ The quick start sends `source` through `Scale` to produce `result`. To save the completed run as interactive HTML, add `run.plot.save("run.html")` after the example’s `print` line. Open the file to inspect the executed step, timing and recorded values.
132
+
133
+ [![Completed graph showing the source artifact flowing through Scale to the result artifact](https://raw.githubusercontent.com/jayrun-project/jayrun/main/docs/_static/screenshots/first-run.png)](https://jayrun.readthedocs.io/en/latest/_static/first_run.html)
134
+
135
+ [Explore the completed Scale run](https://jayrun.readthedocs.io/en/latest/_static/first_run.html).
136
+
137
+ You can also inspect a graph before running it. Save its declaration with `graph.plot.save("graph.html")`. This split-and-join example shows two processing branches meeting at a Join operator.
125
138
 
126
139
  [![Split-and-join graph with an explicit Splitter, two processing branches and a Join operator](https://raw.githubusercontent.com/jayrun-project/jayrun/main/docs/_static/screenshots/split-and-join.png)](https://jayrun.readthedocs.io/en/latest/guides/visualization/graphs.html)
127
140
 
128
141
  *A split-and-join graph with two processing branches. Click to explore the interactive declaration.*
129
142
 
130
- For live work, use the [dashboard](https://jayrun.readthedocs.io/en/latest/guides/visualization/dashboard.html) shown above. You can also build your own monitoring or coordination graph using `self.runtime`; see the [Controller example](https://jayrun.readthedocs.io/en/latest/guides/runtime/controller.html). The [visualization and reporting guide](https://jayrun.readthedocs.io/en/latest/guides/evidence/plots.html) covers declarations, registries, completed runs and the dashboard.
143
+ For live work, the dashboard lets you follow running contexts and find recent completions.
144
+
145
+ [![Jayrun dashboard listing running and paused contexts with graph versions, progress and iteration counts](https://raw.githubusercontent.com/jayrun-project/jayrun/main/docs/_static/screenshots/dashboard.png)](https://jayrun.readthedocs.io/en/latest/guides/visualization/dashboard.html)
146
+
147
+ [Explore the dashboard](https://jayrun.readthedocs.io/en/latest/guides/visualization/dashboard.html) or [build a monitoring graph with a Controller](https://jayrun.readthedocs.io/en/latest/guides/runtime/controller.html). The [visualization and reporting guide](https://jayrun.readthedocs.io/en/latest/guides/evidence/plots.html) also covers declarations, registries and completed runs.
131
148
 
132
149
  To keep diagnostic history beyond an Engine session, pass `Database("execution.sqlite")` from `jayrun.persistence` to `Engine(database=...)`. The Engine owns the database lifecycle. After computation finishes, call `engine.database.flush()` to check that pending history was stored successfully. The [Persistence and Database guide](https://jayrun.readthedocs.io/en/latest/guides/evidence/persistence.html) shows how to write history and read it after the Engine closes. Stored history is separate from application checkpoints and arbitrary artifact storage.
133
150
 
134
151
  ## Tutorials
135
152
 
136
- Ready for a larger workflow? Each tutorial includes a walkthrough, Python source and a notebook, with a small offline CPU path:
137
-
138
- | Tutorial | What it demonstrates | Run it |
139
- | --- | --- | --- |
140
- | [Build and validate](https://jayrun.readthedocs.io/en/latest/tutorials/build-and-validate-graph.html) | Properties, diagnostics and corrected execution | [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/build_graph.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/01_build_graph.ipynb) |
141
- | [Image service](https://jayrun.readthedocs.io/en/latest/tutorials/denoise-images-with-fastapi.html) | Async service, shared client and routing | [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/denoise_images.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/02_denoise_images.ipynb) |
142
- | [Shared model inference](https://jayrun.readthedocs.io/en/latest/tutorials/mnist-inference-and-training.html#share-a-read-only-model-for-inference) | Read-only model reuse and placement | [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/mnist_inference.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/03_mnist_inference.ipynb) |
143
- | [Supervised training](https://jayrun.readthedocs.io/en/latest/tutorials/mnist-inference-and-training.html#supervise-replace-and-promote) | Iteration, mutable state and scoped supervision | [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/mnist_training.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/04_mnist_training.ipynb) |
144
- | [Document service](https://jayrun.readthedocs.io/en/latest/tutorials/document-ingestion.html) | Long-running jobs and transactional publication | [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/document_ingestion.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/05_document_ingestion.ipynb) |
145
- | [Adapter checkpointing](https://jayrun.readthedocs.io/en/latest/tutorials/checkpointed-adapter-finetuning.html) | Model/optimizer/RNG checkpoints | [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/adapter_finetuning.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/06_adapter_finetuning.ipynb) |
146
- | [Scientific campaign](https://jayrun.readthedocs.io/en/latest/tutorials/adaptive-scientific-calibration.html) | Adaptive control and reproducibility | [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/heat_calibration.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/07_heat_calibration.ipynb) |
153
+ Each tutorial includes a walkthrough, Python source and a notebook. All seven have a small offline CPU example.
154
+
155
+ - [Build and validate](https://jayrun.readthedocs.io/en/latest/tutorials/build-and-validate-graph.html) — properties, diagnostics and corrected execution.
156
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/build_graph.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/01_build_graph.ipynb)
157
+ - [Image service](https://jayrun.readthedocs.io/en/latest/tutorials/denoise-images-with-fastapi.html) — async service, shared client and routing.
158
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/denoise_images.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/02_denoise_images.ipynb)
159
+ - [Shared model inference](https://jayrun.readthedocs.io/en/latest/tutorials/mnist-inference-and-training.html#share-a-read-only-model-for-inference) — read-only model reuse and placement.
160
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/mnist_inference.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/03_mnist_inference.ipynb)
161
+ - [Supervised training](https://jayrun.readthedocs.io/en/latest/tutorials/mnist-inference-and-training.html#supervise-replace-and-promote) — iteration, mutable state and scoped supervision.
162
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/mnist_training.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/04_mnist_training.ipynb)
163
+ - [Document service](https://jayrun.readthedocs.io/en/latest/tutorials/document-ingestion.html) — long-running jobs and transactional publication.
164
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/document_ingestion.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/05_document_ingestion.ipynb)
165
+ - [Adapter checkpointing](https://jayrun.readthedocs.io/en/latest/tutorials/checkpointed-adapter-finetuning.html) — model/optimizer/RNG checkpoints.
166
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/adapter_finetuning.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/06_adapter_finetuning.ipynb)
167
+ - [Scientific campaign](https://jayrun.readthedocs.io/en/latest/tutorials/adaptive-scientific-calibration.html) — adaptive control and reproducibility.
168
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/heat_calibration.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/07_heat_calibration.ipynb)
147
169
 
148
170
  The tutorial sources and notebooks live in the [GitHub tutorials directory](https://github.com/jayrun-project/jayrun/tree/main/tutorials); they are not included in `pip install jayrun`. Start with the [tutorial setup guide](https://jayrun.readthedocs.io/en/latest/tutorials/index.html) to get the repository, install lesson dependencies and choose a CPU or optional GPU/model workload. For a specific task, follow the guides on [graph construction](https://jayrun.readthedocs.io/en/latest/guides/workflow/index.html), [resources](https://jayrun.readthedocs.io/en/latest/guides/graphs/resources.html), [component interfaces](https://jayrun.readthedocs.io/en/latest/guides/components/index.html) or [application integration](https://jayrun.readthedocs.io/en/latest/guides/integration/index.html).
149
171
 
jayrun-0.3.4/README.md ADDED
@@ -0,0 +1,153 @@
1
+ # Jayrun
2
+
3
+ **Build, run, and inspect Python computation graphs with reusable resources and a live dashboard.**
4
+
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 steps and manages the lifetimes of intermediate results and shared resources.
6
+
7
+ [![PyPI version](https://img.shields.io/pypi/v/jayrun.svg)](https://pypi.org/project/jayrun/)
8
+ [![Read the Docs](https://readthedocs.org/projects/jayrun/badge/?version=latest)](https://jayrun.readthedocs.io/en/latest/)
9
+ [![Python 3.11 or later](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)
10
+ [![CI](https://github.com/jayrun-project/jayrun/actions/workflows/ci.yml/badge.svg)](https://github.com/jayrun-project/jayrun/actions/workflows/ci.yml)
11
+ [![Apache 2.0 license](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/jayrun-project/jayrun/blob/main/LICENSE)
12
+
13
+ [Quick start](#quick-start) · [Documentation](https://jayrun.readthedocs.io/en/latest/) · [Tutorials](#tutorials) · [API reference](https://jayrun.readthedocs.io/en/latest/reference/imports.html) · [0.3.4 release notes](https://github.com/jayrun-project/jayrun/releases/tag/v0.3.4)
14
+
15
+ ## What Jayrun does
16
+
17
+ - **Reuse expensive resources.** Share models, calibration data and clients across compatible runs, with managed acquisition and teardown.
18
+ - **Release intermediate data automatically.** Let Jayrun release consumed artifact values when execution no longer needs them. Retention policies and application references determine what stays alive.
19
+ - **Inspect and control execution.** Visualize graphs before running them, follow live work in the dashboard, and inspect captured results, timings and records afterward.
20
+
21
+ Declare a graph once, then submit it with different inputs and configuration. Graphs can include branches, conditional routes and iteration. They can also act as observers or controllers for other work—the dashboard itself is built as a graph.
22
+
23
+ See [the overview](https://jayrun.readthedocs.io/en/latest/start/overview.html) for applications and [data and lifetimes](https://jayrun.readthedocs.io/en/latest/start/data-and-lifetimes.html) for how artifacts, configuration and resources fit together.
24
+
25
+ ## Quick start
26
+
27
+ Install Jayrun with Python 3.11 or later.
28
+
29
+ ```bash
30
+ python -m pip install jayrun
31
+ ```
32
+
33
+ Save the following as `first_graph.py`. The `Scale` operator multiplies an input artifact by a configurable factor.
34
+
35
+ ```python
36
+ from jayrun import (
37
+ Artifact, ArtifactContext,
38
+ ArtifactField, ArtifactFlow,
39
+ BaseOperator, ConfigContext,
40
+ ConfigField, Engine, GraphDefinition,
41
+ )
42
+ from jayrun.context import ContextState
43
+
44
+
45
+ class Scale(BaseOperator):
46
+ def __init__(self, *, source, outputs):
47
+ super().__init__()
48
+ self.source = ArtifactField()
49
+ self.factor = ConfigField(value_type=int)
50
+ self.outputs = (ArtifactField(),)
51
+
52
+ def execute(self):
53
+ value = self.source.value
54
+ result = value * self.factor.value
55
+ self.context.record("scaled", result)
56
+ return result
57
+
58
+
59
+ source = Artifact(name="source")
60
+ result = Artifact(name="result")
61
+ scale = Scale(
62
+ source=source, outputs=(result,)
63
+ )
64
+ flow = ArtifactFlow(
65
+ scale, artifact=source
66
+ )
67
+ graph = GraphDefinition(
68
+ flow, entry_flows=flow
69
+ )
70
+ graph.confirm()
71
+
72
+ with Engine() as engine:
73
+ run = engine.submit(
74
+ graph,
75
+ ArtifactContext({source: 7}),
76
+ ConfigContext({scale.factor: 3}),
77
+ )
78
+ run.wait(timeout=10)
79
+ if run.state is not ContextState.FINISHED:
80
+ failure = run.report.data.failure
81
+ raise RuntimeError(str(failure))
82
+ print(run.artifact(result).value)
83
+ ```
84
+
85
+ Run the program. With input `7` and factor `3`, it prints `21`.
86
+
87
+ ```console
88
+ $ python first_graph.py
89
+ 21
90
+ ```
91
+
92
+ Each submission returns a `ContextRun`. Once it finalizes, check its outcome before reading the result. The [first graph walkthrough](https://jayrun.readthedocs.io/en/latest/start/first-graph.html) explains field binding, reads the recorded value and visualizes the run.
93
+
94
+ The core runtime requires `packaging`. Install `jayrun[yaml]` for YAML configuration. Individual applications can add libraries such as PyTorch.
95
+
96
+ ## Inspect your graphs and runs
97
+
98
+ The quick start sends `source` through `Scale` to produce `result`. To save the completed run as interactive HTML, add `run.plot.save("run.html")` after the example’s `print` line. Open the file to inspect the executed step, timing and recorded values.
99
+
100
+ [![Completed graph showing the source artifact flowing through Scale to the result artifact](https://raw.githubusercontent.com/jayrun-project/jayrun/main/docs/_static/screenshots/first-run.png)](https://jayrun.readthedocs.io/en/latest/_static/first_run.html)
101
+
102
+ [Explore the completed Scale run](https://jayrun.readthedocs.io/en/latest/_static/first_run.html).
103
+
104
+ You can also inspect a graph before running it. Save its declaration with `graph.plot.save("graph.html")`. This split-and-join example shows two processing branches meeting at a Join operator.
105
+
106
+ [![Split-and-join graph with an explicit Splitter, two processing branches and a Join operator](https://raw.githubusercontent.com/jayrun-project/jayrun/main/docs/_static/screenshots/split-and-join.png)](https://jayrun.readthedocs.io/en/latest/guides/visualization/graphs.html)
107
+
108
+ *A split-and-join graph with two processing branches. Click to explore the interactive declaration.*
109
+
110
+ For live work, the dashboard lets you follow running contexts and find recent completions.
111
+
112
+ [![Jayrun dashboard listing running and paused contexts with graph versions, progress and iteration counts](https://raw.githubusercontent.com/jayrun-project/jayrun/main/docs/_static/screenshots/dashboard.png)](https://jayrun.readthedocs.io/en/latest/guides/visualization/dashboard.html)
113
+
114
+ [Explore the dashboard](https://jayrun.readthedocs.io/en/latest/guides/visualization/dashboard.html) or [build a monitoring graph with a Controller](https://jayrun.readthedocs.io/en/latest/guides/runtime/controller.html). The [visualization and reporting guide](https://jayrun.readthedocs.io/en/latest/guides/evidence/plots.html) also covers declarations, registries and completed runs.
115
+
116
+ To keep diagnostic history beyond an Engine session, pass `Database("execution.sqlite")` from `jayrun.persistence` to `Engine(database=...)`. The Engine owns the database lifecycle. After computation finishes, call `engine.database.flush()` to check that pending history was stored successfully. The [Persistence and Database guide](https://jayrun.readthedocs.io/en/latest/guides/evidence/persistence.html) shows how to write history and read it after the Engine closes. Stored history is separate from application checkpoints and arbitrary artifact storage.
117
+
118
+ ## Tutorials
119
+
120
+ Each tutorial includes a walkthrough, Python source and a notebook. All seven have a small offline CPU example.
121
+
122
+ - [Build and validate](https://jayrun.readthedocs.io/en/latest/tutorials/build-and-validate-graph.html) — properties, diagnostics and corrected execution.
123
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/build_graph.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/01_build_graph.ipynb)
124
+ - [Image service](https://jayrun.readthedocs.io/en/latest/tutorials/denoise-images-with-fastapi.html) — async service, shared client and routing.
125
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/denoise_images.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/02_denoise_images.ipynb)
126
+ - [Shared model inference](https://jayrun.readthedocs.io/en/latest/tutorials/mnist-inference-and-training.html#share-a-read-only-model-for-inference) — read-only model reuse and placement.
127
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/mnist_inference.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/03_mnist_inference.ipynb)
128
+ - [Supervised training](https://jayrun.readthedocs.io/en/latest/tutorials/mnist-inference-and-training.html#supervise-replace-and-promote) — iteration, mutable state and scoped supervision.
129
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/mnist_training.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/04_mnist_training.ipynb)
130
+ - [Document service](https://jayrun.readthedocs.io/en/latest/tutorials/document-ingestion.html) — long-running jobs and transactional publication.
131
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/document_ingestion.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/05_document_ingestion.ipynb)
132
+ - [Adapter checkpointing](https://jayrun.readthedocs.io/en/latest/tutorials/checkpointed-adapter-finetuning.html) — model/optimizer/RNG checkpoints.
133
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/adapter_finetuning.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/06_adapter_finetuning.ipynb)
134
+ - [Scientific campaign](https://jayrun.readthedocs.io/en/latest/tutorials/adaptive-scientific-calibration.html) — adaptive control and reproducibility.
135
+ [Python](https://github.com/jayrun-project/jayrun/blob/main/tutorials/heat_calibration.py) · [Notebook](https://github.com/jayrun-project/jayrun/blob/main/tutorials/07_heat_calibration.ipynb)
136
+
137
+ The tutorial sources and notebooks live in the [GitHub tutorials directory](https://github.com/jayrun-project/jayrun/tree/main/tutorials); they are not included in `pip install jayrun`. Start with the [tutorial setup guide](https://jayrun.readthedocs.io/en/latest/tutorials/index.html) to get the repository, install lesson dependencies and choose a CPU or optional GPU/model workload. For a specific task, follow the guides on [graph construction](https://jayrun.readthedocs.io/en/latest/guides/workflow/index.html), [resources](https://jayrun.readthedocs.io/en/latest/guides/graphs/resources.html), [component interfaces](https://jayrun.readthedocs.io/en/latest/guides/components/index.html) or [application integration](https://jayrun.readthedocs.io/en/latest/guides/integration/index.html).
138
+
139
+ ## Community
140
+
141
+ Have a question or a workflow to share? Join [GitHub Discussions](https://github.com/jayrun-project/jayrun/discussions). Report bugs and request features through [GitHub Issues](https://github.com/jayrun-project/jayrun/issues); for bugs, include a small reproducible example and your Python and Jayrun versions.
142
+
143
+ You can also help by reporting confusing examples, suggesting documentation improvements or sharing how you use Jayrun. The [documentation sources](https://github.com/jayrun-project/jayrun/blob/main/docs/index.md) are included in this repository.
144
+
145
+ ## Scope and project status
146
+
147
+ Jayrun manages graph execution and ownership. Applications supply network transport, authentication, external side effects and checkpoint contents. Placement accounts for declared capacity rather than allocating devices, and cleanup releases framework references rather than guaranteeing an immediate drop in process memory. See [supported behavior and limitations](https://jayrun.readthedocs.io/en/latest/reference/limits.html).
148
+
149
+ Jayrun provides a tested foundation for graph execution, with ongoing improvements to reliability, usability and documentation. Use imports from `jayrun` and its [documented public modules](https://jayrun.readthedocs.io/en/latest/reference/imports.html); `jayrun.core` and `jayrun.engine` are implementation details.
150
+
151
+ ## License
152
+
153
+ [Apache License 2.0](https://github.com/jayrun-project/jayrun/blob/main/LICENSE). Copyright 2026 Masoud Yavari.
@@ -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.2"
27
+ __version__ = "0.3.4"
28
28
 
29
29
  __all__ = (
30
30
  "__version__", "Artifact", "ArtifactContext", "ArtifactField", "ArtifactFlow",