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.
- {jayrun-0.3.2 → jayrun-0.3.4}/CHANGELOG.md +25 -0
- {jayrun-0.3.2/jayrun.egg-info → jayrun-0.3.4}/PKG-INFO +63 -41
- jayrun-0.3.4/README.md +153 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/__init__.py +1 -1
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_client.py +159 -39
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_evidence.py +24 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_history.py +31 -10
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_page.py +1 -1
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_service.py +1 -1
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_workspace.py +97 -16
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/context.py +5 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/_database.py +9 -5
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/_sqlite.py +32 -8
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/records.py +20 -1
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_help/content.js +2 -2
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_run.js +2 -1
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_theme.css +9 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_workspace.css +48 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_workspace.js +44 -7
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/viewer.css +3 -3
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/viewer.js +69 -21
- {jayrun-0.3.2 → jayrun-0.3.4/jayrun.egg-info}/PKG-INFO +63 -41
- {jayrun-0.3.2 → jayrun-0.3.4}/pyproject.toml +1 -1
- jayrun-0.3.2/README.md +0 -131
- {jayrun-0.3.2 → jayrun-0.3.4}/LICENSE +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/MANIFEST.in +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/NOTICE +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/authority.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/artifact/base.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/artifact/context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/artifact/field.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/artifact/properties.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/base/error.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/config/context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/config/field.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/config/values.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/context/base.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/context/runtime_data.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/declaration/field.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/_identity.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/_specifier_compat.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/artifact_flow.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/compiled_graph.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/declaration_report.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/artifact.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/data.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/field.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/requirement.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/definition/serializer.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_component.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_definition.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_layout.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_registry.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_specification.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/graph_state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/artifact.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/field.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/graph.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/registry.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/requirement.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/resource.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/inspection/serializer.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/operator_reference.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/artifact.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/config.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/data.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/field.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/registry/resource.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/reporting.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/graph/requirements.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/operator/base.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/resource/base.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/resource/context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/resource/field.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/serializer/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/serializer/base.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/artifact.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/graph.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/plotting.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/core/validation/validation.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_graph.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_location.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_observation.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/dashboard/_style.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/_capture_values.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/_history.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/_timing.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/api.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/actor.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/result.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/artifact/store.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/base/runtime_module.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/context_manager.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/context_outcome.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_proxy.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_session.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_step.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/execution_tracker.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/resource_key.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context/step_reference.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/context_run.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/batch_size_estimator.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/coordinator.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/message_queue.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/runtime_loop.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/coordinator/timeout_estimator.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/engine_state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/execution/async_executor.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/execution/execution_mode.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/execution/executor_manager.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/execution/thread_executor.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/gateway/engine_gateway.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/history_budget.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/base.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/context_record.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/execution.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/placement.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/runtime.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/services/accesses.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/services/context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/services/control.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/interfaces/services/storage.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/limits.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/capability.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/abort_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/apply_snapshot.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/pause_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/reconcile_contexts.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/record_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/resume_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/retrieve_session.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/shutdown_runtime.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/start_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/stop_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/commands/transfer_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/context_admitted.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/context_registered.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/context_terminated.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/events/runtime_idle.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/origin.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/runtime_message.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/messages/runtime_messenger.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/observation.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/pressure.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/progress.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/progress_history.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/artifact_state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/debug_recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/production_recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/record.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/artifact/state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/debug_recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/production_recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/report.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/context/state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/debug_recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/production_recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/recorder.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/records.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/recorders/execution/state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/context_id_generator.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/context_instance.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/context_state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/context_status.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/registry/runtime_registry.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/cached_resource.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/device_allocator.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/placement.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/placement_controller.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/placement_request.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/resource_manager.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/resource/resource_state.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/runtime.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/scheduler/_windows_memory.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/scheduler/context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/scheduler/memory.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/_instrumentation.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/combined_context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/context.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/settings/engine.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/snapshot.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/submission.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/supervisor.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/engine/terminal_history.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/inspection.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/backend.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/errors.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/legacy.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/policy.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/persistence/values.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/placement.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/properties.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/py.typed +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/registry.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/reporting/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/reporting/_completed.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/reporting/_history.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/serialization.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/settings.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/validation.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_copy.js +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_facade.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_help/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_help/controller.js +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_help/style.css +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_legacy.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_segments.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/_workspace.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/__init__.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/_legacy_history.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/_requirements.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/completed.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/definition.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/history.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/live.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/adapters/registry.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/colors.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/contract.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/layout.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun/visualization/renderer.py +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun.egg-info/SOURCES.txt +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun.egg-info/dependency_links.txt +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun.egg-info/requires.txt +0 -0
- {jayrun-0.3.2 → jayrun-0.3.4}/jayrun.egg-info/top_level.txt +0 -0
- {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.
|
|
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
|
|
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
|
[](https://pypi.org/project/jayrun/)
|
|
43
|
-
[](https://jayrun.readthedocs.io/en/latest/)
|
|
42
|
+
[](https://www.python.org/)
|
|
44
43
|
[](https://github.com/jayrun-project/jayrun/actions/workflows/ci.yml)
|
|
45
|
-
[](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
|
-
[](https://jayrun.readthedocs.io/en/latest/guides/visualization/dashboard.html)
|
|
44
|
+
[](https://github.com/jayrun-project/jayrun/blob/main/LICENSE)
|
|
51
45
|
|
|
52
|
-
|
|
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.
|
|
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
|
-
|
|
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,
|
|
79
|
-
|
|
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
|
-
|
|
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(
|
|
100
|
-
|
|
101
|
-
|
|
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
|
-
|
|
113
|
-
|
|
113
|
+
failure = run.report.data.failure
|
|
114
|
+
raise RuntimeError(str(failure))
|
|
115
|
+
print(run.artifact(result).value)
|
|
114
116
|
```
|
|
115
117
|
|
|
116
|
-
|
|
118
|
+
Run the program. With input `7` and factor `3`, it prints `21`.
|
|
117
119
|
|
|
118
|
-
|
|
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
|
|
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
|
-
|
|
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
|
+
[](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
|
[](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,
|
|
143
|
+
For live work, the dashboard lets you follow running contexts and find recent completions.
|
|
144
|
+
|
|
145
|
+
[](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
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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
|
+
[](https://pypi.org/project/jayrun/)
|
|
8
|
+
[](https://jayrun.readthedocs.io/en/latest/)
|
|
9
|
+
[](https://www.python.org/)
|
|
10
|
+
[](https://github.com/jayrun-project/jayrun/actions/workflows/ci.yml)
|
|
11
|
+
[](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
|
+
[](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
|
+
[](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
|
+
[](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.
|
|
27
|
+
__version__ = "0.3.4"
|
|
28
28
|
|
|
29
29
|
__all__ = (
|
|
30
30
|
"__version__", "Artifact", "ArtifactContext", "ArtifactField", "ArtifactFlow",
|