huginn-framework 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. huginn_framework-0.1.0/.github/actions/setup-python-uv/action.yml +24 -0
  2. huginn_framework-0.1.0/.github/dependabot.yml +11 -0
  3. huginn_framework-0.1.0/.github/workflows/ci.yml +148 -0
  4. huginn_framework-0.1.0/.github/workflows/docs_deploy.yml +28 -0
  5. huginn_framework-0.1.0/.github/workflows/release.yaml +103 -0
  6. huginn_framework-0.1.0/.gitignore +13 -0
  7. huginn_framework-0.1.0/.mdformat.toml +1 -0
  8. huginn_framework-0.1.0/.pre-commit-config.yaml +46 -0
  9. huginn_framework-0.1.0/.python-version +1 -0
  10. huginn_framework-0.1.0/CHANGELOG.md +11 -0
  11. huginn_framework-0.1.0/LICENSE +201 -0
  12. huginn_framework-0.1.0/PKG-INFO +46 -0
  13. huginn_framework-0.1.0/README.md +29 -0
  14. huginn_framework-0.1.0/changes/README.md +55 -0
  15. huginn_framework-0.1.0/docs/authoring/change.md +325 -0
  16. huginn_framework-0.1.0/docs/authoring/gate.md +285 -0
  17. huginn_framework-0.1.0/docs/authoring/index.md +87 -0
  18. huginn_framework-0.1.0/docs/authoring/static-validation.md +334 -0
  19. huginn_framework-0.1.0/docs/authoring/unit-testing.md +755 -0
  20. huginn_framework-0.1.0/docs/authoring/volatile-validation.md +202 -0
  21. huginn_framework-0.1.0/docs/concepts/archetypes.md +55 -0
  22. huginn_framework-0.1.0/docs/concepts/execution-modes-diagram.png +0 -0
  23. huginn_framework-0.1.0/docs/concepts/execution-modes.md +150 -0
  24. huginn_framework-0.1.0/docs/concepts/glossary.md +156 -0
  25. huginn_framework-0.1.0/docs/concepts/overview.md +149 -0
  26. huginn_framework-0.1.0/docs/concepts/reconciliation.md +108 -0
  27. huginn_framework-0.1.0/docs/concepts/test-plan-structure.md +202 -0
  28. huginn_framework-0.1.0/docs/design/architecture.md +811 -0
  29. huginn_framework-0.1.0/docs/design/connection-broker.md +468 -0
  30. huginn_framework-0.1.0/docs/design/future.md +160 -0
  31. huginn_framework-0.1.0/docs/design/output-logging.md +391 -0
  32. huginn_framework-0.1.0/docs/design/volatile-parameters.md +243 -0
  33. huginn_framework-0.1.0/docs/getting-started/installation.md +41 -0
  34. huginn_framework-0.1.0/docs/getting-started/quickstart.md +206 -0
  35. huginn_framework-0.1.0/docs/index.md +70 -0
  36. huginn_framework-0.1.0/docs/reference/configuration.md +438 -0
  37. huginn_framework-0.1.0/docs/reference/context-api.md +395 -0
  38. huginn_framework-0.1.0/docs/reference/package-jobs.md +300 -0
  39. huginn_framework-0.1.0/docs/reference/prune.md +198 -0
  40. huginn_framework-0.1.0/docs/reference/reconcile.md +90 -0
  41. huginn_framework-0.1.0/docs/reference/test-plan.md +915 -0
  42. huginn_framework-0.1.0/docs/reference/testbed.md +534 -0
  43. huginn_framework-0.1.0/docs/style.md +162 -0
  44. huginn_framework-0.1.0/mkdocs.yml +92 -0
  45. huginn_framework-0.1.0/pyproject.toml +126 -0
  46. huginn_framework-0.1.0/src/huginn/__init__.py +41 -0
  47. huginn_framework-0.1.0/src/huginn/_version.py +24 -0
  48. huginn_framework-0.1.0/src/huginn/brokers/__init__.py +80 -0
  49. huginn_framework-0.1.0/src/huginn/brokers/exceptions.py +46 -0
  50. huginn_framework-0.1.0/src/huginn/brokers/http.py +436 -0
  51. huginn_framework-0.1.0/src/huginn/brokers/netconf.py +574 -0
  52. huginn_framework-0.1.0/src/huginn/brokers/null.py +17 -0
  53. huginn_framework-0.1.0/src/huginn/brokers/protocol.py +265 -0
  54. huginn_framework-0.1.0/src/huginn/brokers/ssh.py +438 -0
  55. huginn_framework-0.1.0/src/huginn/cli.py +1658 -0
  56. huginn_framework-0.1.0/src/huginn/context.py +34 -0
  57. huginn_framework-0.1.0/src/huginn/enums.py +76 -0
  58. huginn_framework-0.1.0/src/huginn/execute.py +344 -0
  59. huginn_framework-0.1.0/src/huginn/hooks.py +112 -0
  60. huginn_framework-0.1.0/src/huginn/inject.py +435 -0
  61. huginn_framework-0.1.0/src/huginn/inventory_plugins.py +129 -0
  62. huginn_framework-0.1.0/src/huginn/jobs.py +123 -0
  63. huginn_framework-0.1.0/src/huginn/loaders.py +1057 -0
  64. huginn_framework-0.1.0/src/huginn/logging_helpers.py +24 -0
  65. huginn_framework-0.1.0/src/huginn/models.py +296 -0
  66. huginn_framework-0.1.0/src/huginn/output.py +161 -0
  67. huginn_framework-0.1.0/src/huginn/parameters.py +65 -0
  68. huginn_framework-0.1.0/src/huginn/plan_filtering.py +266 -0
  69. huginn_framework-0.1.0/src/huginn/plugin_registry.py +239 -0
  70. huginn_framework-0.1.0/src/huginn/prune.py +554 -0
  71. huginn_framework-0.1.0/src/huginn/py.typed +0 -0
  72. huginn_framework-0.1.0/src/huginn/reconcile.py +561 -0
  73. huginn_framework-0.1.0/src/huginn/reporting/__init__.py +1 -0
  74. huginn_framework-0.1.0/src/huginn/reporting/html.py +485 -0
  75. huginn_framework-0.1.0/src/huginn/reporting/protocol.py +50 -0
  76. huginn_framework-0.1.0/src/huginn/reporting/static/styles.css +988 -0
  77. huginn_framework-0.1.0/src/huginn/reporting/templates/dashboard.html.j2 +318 -0
  78. huginn_framework-0.1.0/src/huginn/reporting/templates/test_case_detail.html.j2 +221 -0
  79. huginn_framework-0.1.0/src/huginn/result_store.py +270 -0
  80. huginn_framework-0.1.0/src/huginn/results.py +99 -0
  81. huginn_framework-0.1.0/src/huginn/runner.py +1970 -0
  82. huginn_framework-0.1.0/src/huginn/runtime_broker.py +687 -0
  83. huginn_framework-0.1.0/src/huginn/testcase.py +207 -0
  84. huginn_framework-0.1.0/src/huginn/utils/__init__.py +1 -0
  85. huginn_framework-0.1.0/src/huginn/utils/commands.py +20 -0
  86. huginn_framework-0.1.0/src/huginn/validation.py +417 -0
  87. huginn_framework-0.1.0/src/huginn/volatile.py +548 -0
  88. huginn_framework-0.1.0/tests/__init__.py +1 -0
  89. huginn_framework-0.1.0/tests/brokers/__init__.py +1 -0
  90. huginn_framework-0.1.0/tests/brokers/test_http.py +553 -0
  91. huginn_framework-0.1.0/tests/brokers/test_netconf.py +762 -0
  92. huginn_framework-0.1.0/tests/brokers/test_protocol.py +130 -0
  93. huginn_framework-0.1.0/tests/brokers/test_ssh.py +576 -0
  94. huginn_framework-0.1.0/tests/conftest.py +10 -0
  95. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/cli_filtering/jobs/test_post_ospf.py +19 -0
  96. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/cli_filtering/jobs/test_pre_ospf.py +19 -0
  97. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/cli_filtering/jobs/test_pre_slow.py +19 -0
  98. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/cli_filtering/test_plan.yaml +42 -0
  99. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/cli_filtering/testbed.yaml +13 -0
  100. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/command_recording/jobs/test_verify_command_recording.py +27 -0
  101. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/command_recording/test_plan.yaml +14 -0
  102. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/command_recording/testbed.yaml +13 -0
  103. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/connection_reuse/jobs/test_verify_shared.py +19 -0
  104. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/connection_reuse/test_plan.yaml +18 -0
  105. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/connection_reuse/testbed.yaml +12 -0
  106. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/duplicate_learning_parameters/jobs/test_verify_learning_deduplication.py +42 -0
  107. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/duplicate_learning_parameters/test_plan.yaml +19 -0
  108. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/duplicate_learning_parameters/testbed.yaml +14 -0
  109. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/errored/jobs/test_verify_errored.py +21 -0
  110. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/errored/test_plan.yaml +14 -0
  111. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/errored/testbed.yaml +12 -0
  112. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/jobs/test_sleep_one.py +22 -0
  113. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/jobs/test_sleep_two.py +22 -0
  114. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/plan_group_parallel_default.yaml +18 -0
  115. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/plan_group_parallel_maximum_one.yaml +21 -0
  116. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/plan_group_serial.yaml +20 -0
  117. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/plan_phase_parallel.yaml +23 -0
  118. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/plan_phase_parallel_maximum_one.yaml +24 -0
  119. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/plan_phase_serial.yaml +23 -0
  120. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/execution_strategy/testbed.yaml +13 -0
  121. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/failed/jobs/test_verify_failed.py +19 -0
  122. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/failed/test_plan.yaml +14 -0
  123. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/failed/testbed.yaml +12 -0
  124. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/hierarchical_no_match/jobs/test_verify_no_match.py +22 -0
  125. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/hierarchical_no_match/test_plan.yaml +20 -0
  126. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/hierarchical_no_match/testbed.yaml +14 -0
  127. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/hierarchical_targets/jobs/test_verify_hierarchical.py +20 -0
  128. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/hierarchical_targets/test_plan.yaml +24 -0
  129. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/hierarchical_targets/testbed.yaml +42 -0
  130. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/job_declared_netconf/jobs/test_verify_job_declared_netconf.py +26 -0
  131. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/job_declared_netconf/test_plan.yaml +14 -0
  132. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/job_declared_netconf/testbed.yaml +16 -0
  133. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/learning_testing_parameters/jobs/test_verify_learning_testing.py +31 -0
  134. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/learning_testing_parameters/test_plan.yaml +14 -0
  135. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/learning_testing_parameters/testbed.yaml +14 -0
  136. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/parallel_group_execution/jobs/test_parallel_case_one.py +22 -0
  137. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/parallel_group_execution/jobs/test_parallel_case_two.py +22 -0
  138. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/parallel_group_execution/test_plan.yaml +18 -0
  139. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/parallel_group_execution/testbed.yaml +13 -0
  140. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/passed/jobs/test_verify_passed.py +24 -0
  141. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/passed/test_plan.yaml +14 -0
  142. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/passed/testbed.yaml +12 -0
  143. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/phase_dependency_blocked/jobs/test_verify_failing.py +19 -0
  144. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/phase_dependency_blocked/jobs/test_verify_should_block.py +22 -0
  145. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/phase_dependency_blocked/test_plan.yaml +25 -0
  146. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/phase_dependency_blocked/testbed.yaml +12 -0
  147. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/tag_filtering/jobs/test_verify_other.py +22 -0
  148. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/tag_filtering/jobs/test_verify_tagged.py +19 -0
  149. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/tag_filtering/test_plan.yaml +23 -0
  150. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/tag_filtering/testbed.yaml +14 -0
  151. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/target_no_match/jobs/test_verify_unmatched.py +22 -0
  152. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/target_no_match/test_plan.yaml +17 -0
  153. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/target_no_match/testbed.yaml +14 -0
  154. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/target_selectors/jobs/test_verify_targets.py +20 -0
  155. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/target_selectors/test_plan.yaml +19 -0
  156. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/target_selectors/testbed.yaml +42 -0
  157. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/targeted/jobs/test_verify_targeted.py +21 -0
  158. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/targeted/test_plan.yaml +17 -0
  159. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/targeted/testbed.yaml +24 -0
  160. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/unknown_target/jobs/test_verify_unknown_target.py +19 -0
  161. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/unknown_target/test_plan.yaml +17 -0
  162. huginn_framework-0.1.0/tests/fixtures/first_slice_runner/unknown_target/testbed.yaml +12 -0
  163. huginn_framework-0.1.0/tests/fixtures/jobs/test_no_subclasses.py +3 -0
  164. huginn_framework-0.1.0/tests/fixtures/jobs/test_non_testcase.py +5 -0
  165. huginn_framework-0.1.0/tests/fixtures/jobs/test_verify_multiple.py +35 -0
  166. huginn_framework-0.1.0/tests/fixtures/jobs/test_verify_single.py +19 -0
  167. huginn_framework-0.1.0/tests/fixtures/loaders/duplicate_group/a.yaml +7 -0
  168. huginn_framework-0.1.0/tests/fixtures/loaders/duplicate_group/b.yaml +8 -0
  169. huginn_framework-0.1.0/tests/fixtures/loaders/duplicate_metadata/a.yaml +13 -0
  170. huginn_framework-0.1.0/tests/fixtures/loaders/duplicate_metadata/b.yaml +1 -0
  171. huginn_framework-0.1.0/tests/fixtures/loaders/duplicate_scenario/a.yaml +12 -0
  172. huginn_framework-0.1.0/tests/fixtures/loaders/duplicate_scenario/b.yaml +5 -0
  173. huginn_framework-0.1.0/tests/fixtures/loaders/duplicate_test_case/a.yaml +4 -0
  174. huginn_framework-0.1.0/tests/fixtures/loaders/duplicate_test_case/b.yaml +4 -0
  175. huginn_framework-0.1.0/tests/fixtures/loaders/multi_file_plan/_drafts/wip.yaml +5 -0
  176. huginn_framework-0.1.0/tests/fixtures/loaders/multi_file_plan/connectivity.yaml +13 -0
  177. huginn_framework-0.1.0/tests/fixtures/loaders/multi_file_plan/metadata.yaml +2 -0
  178. huginn_framework-0.1.0/tests/fixtures/loaders/multi_file_plan/routing/ospf.yaml +11 -0
  179. huginn_framework-0.1.0/tests/fixtures/loaders/multi_file_plan/scenarios.yaml +7 -0
  180. huginn_framework-0.1.0/tests/fixtures/loaders/plan_exclude_tests_without_groups.yaml +16 -0
  181. huginn_framework-0.1.0/tests/fixtures/loaders/plan_group_missing_tests_and_groups.yaml +13 -0
  182. huginn_framework-0.1.0/tests/fixtures/loaders/plan_invalid_strategy_maximum.yaml +17 -0
  183. huginn_framework-0.1.0/tests/fixtures/loaders/plan_invalid_strategy_multiple_modes.yaml +17 -0
  184. huginn_framework-0.1.0/tests/fixtures/loaders/plan_invalid_tests.yaml +14 -0
  185. huginn_framework-0.1.0/tests/fixtures/loaders/plan_missing_sections.yaml +1 -0
  186. huginn_framework-0.1.0/tests/fixtures/loaders/plan_nested_group_cycle.yaml +20 -0
  187. huginn_framework-0.1.0/tests/fixtures/loaders/plan_unknown_dependency.yaml +16 -0
  188. huginn_framework-0.1.0/tests/fixtures/loaders/plan_unknown_group.yaml +14 -0
  189. huginn_framework-0.1.0/tests/fixtures/loaders/plan_unknown_nested_group.yaml +14 -0
  190. huginn_framework-0.1.0/tests/fixtures/loaders/plan_unknown_test_id.yaml +14 -0
  191. huginn_framework-0.1.0/tests/fixtures/loaders/plan_valid.yaml +14 -0
  192. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_exclude_tests.yaml +46 -0
  193. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_execution_strategies.yaml +29 -0
  194. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_group_tags.yaml +17 -0
  195. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_hierarchical_targets.yaml +23 -0
  196. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_mixed_group_target_selectors.yaml +19 -0
  197. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_mixed_phase_target_selectors.yaml +19 -0
  198. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_mixed_target_selectors.yaml +19 -0
  199. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_names.yaml +19 -0
  200. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_nested_groups.yaml +33 -0
  201. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_phase_dependency.yaml +25 -0
  202. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_tags.yaml +17 -0
  203. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_target_devices.yaml +17 -0
  204. huginn_framework-0.1.0/tests/fixtures/loaders/plan_with_target_selectors.yaml +19 -0
  205. huginn_framework-0.1.0/tests/fixtures/loaders/testbed_empty_devices.yaml +1 -0
  206. huginn_framework-0.1.0/tests/fixtures/loaders/testbed_missing_os.yaml +3 -0
  207. huginn_framework-0.1.0/tests/fixtures/loaders/testbed_valid.yaml +5 -0
  208. huginn_framework-0.1.0/tests/fixtures/loaders/testbed_with_global_credentials.yaml +29 -0
  209. huginn_framework-0.1.0/tests/fixtures/loaders/testbed_with_ssh.yaml +15 -0
  210. huginn_framework-0.1.0/tests/fixtures/packages/fake_job_package/__init__.py +1 -0
  211. huginn_framework-0.1.0/tests/fixtures/packages/fake_job_package/subpkg/__init__.py +1 -0
  212. huginn_framework-0.1.0/tests/fixtures/packages/fake_job_package/subpkg/verify_nested.py +35 -0
  213. huginn_framework-0.1.0/tests/fixtures/packages/fake_job_package/verify_thing.py +19 -0
  214. huginn_framework-0.1.0/tests/runner/__init__.py +1 -0
  215. huginn_framework-0.1.0/tests/runner/conftest.py +150 -0
  216. huginn_framework-0.1.0/tests/runner/test_artifacts.py +103 -0
  217. huginn_framework-0.1.0/tests/runner/test_cli_filtering.py +253 -0
  218. huginn_framework-0.1.0/tests/runner/test_execution_strategy.py +168 -0
  219. huginn_framework-0.1.0/tests/runner/test_inventory_plugins.py +66 -0
  220. huginn_framework-0.1.0/tests/runner/test_learning_mode.py +211 -0
  221. huginn_framework-0.1.0/tests/runner/test_lifecycle.py +107 -0
  222. huginn_framework-0.1.0/tests/runner/test_reporting.py +212 -0
  223. huginn_framework-0.1.0/tests/runner/test_target_resolution.py +193 -0
  224. huginn_framework-0.1.0/tests/test_command_output.py +15 -0
  225. huginn_framework-0.1.0/tests/test_docs_em_dashes.py +73 -0
  226. huginn_framework-0.1.0/tests/test_execute.py +502 -0
  227. huginn_framework-0.1.0/tests/test_hooks.py +164 -0
  228. huginn_framework-0.1.0/tests/test_html_reporting.py +365 -0
  229. huginn_framework-0.1.0/tests/test_inventory_plugins.py +98 -0
  230. huginn_framework-0.1.0/tests/test_jobs.py +139 -0
  231. huginn_framework-0.1.0/tests/test_learning_testcase.py +270 -0
  232. huginn_framework-0.1.0/tests/test_loaders.py +447 -0
  233. huginn_framework-0.1.0/tests/test_output.py +77 -0
  234. huginn_framework-0.1.0/tests/test_parameters.py +53 -0
  235. huginn_framework-0.1.0/tests/test_placeholder.py +6 -0
  236. huginn_framework-0.1.0/tests/test_plan_filtering.py +327 -0
  237. huginn_framework-0.1.0/tests/test_plugin_registry.py +285 -0
  238. huginn_framework-0.1.0/tests/test_prune.py +717 -0
  239. huginn_framework-0.1.0/tests/test_reconcile.py +898 -0
  240. huginn_framework-0.1.0/tests/test_result_store.py +320 -0
  241. huginn_framework-0.1.0/tests/test_results.py +94 -0
  242. huginn_framework-0.1.0/tests/test_runtime_broker.py +426 -0
  243. huginn_framework-0.1.0/tests/test_validate_command.py +297 -0
  244. huginn_framework-0.1.0/tests/test_volatile.py +701 -0
  245. huginn_framework-0.1.0/uv.lock +1980 -0
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: Setup Python with uv
3
+ description: Setup Python, install uv, and sync dependencies
4
+
5
+ inputs:
6
+ python-version:
7
+ description: Python version to use
8
+ required: true
9
+
10
+ runs:
11
+ using: composite
12
+ steps:
13
+ - name: Set up Python ${{ inputs.python-version }}
14
+ uses: actions/setup-python@v6
15
+ with:
16
+ python-version: ${{ inputs.python-version }}
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v7
19
+ with:
20
+ version: "latest"
21
+ enable-cache: true
22
+ - name: Install all dependencies
23
+ shell: bash
24
+ run: uv sync --group dev
@@ -0,0 +1,11 @@
1
+ ---
2
+ version: 2
3
+ updates:
4
+ - package-ecosystem: "uv"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "daily"
8
+ - package-ecosystem: "github-actions"
9
+ directory: "/"
10
+ schedule:
11
+ interval: "daily"
@@ -0,0 +1,148 @@
1
+ ---
2
+ name: CI
3
+ on: # yamllint disable-line rule:truthy
4
+ push:
5
+ pull_request:
6
+ concurrency:
7
+ group: ${{ github.workflow }}-${{ github.ref }}
8
+ cancel-in-progress: true
9
+ jobs:
10
+ check-changelog-fragment:
11
+ if: >-
12
+ github.event_name == 'pull_request' &&
13
+ github.actor != 'dependabot[bot]'
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Check out code
17
+ uses: actions/checkout@v6
18
+ with:
19
+ fetch-depth: 0
20
+ - name: Check for changelog fragment
21
+ env:
22
+ BASE_REF: ${{ github.base_ref }}
23
+ PR_NUMBER: ${{ github.event.number }}
24
+ run: |
25
+ FRAGMENT_TYPES="added|changed|fixed|breaking|internal"
26
+ FRAGMENTS=$(git diff --name-only --diff-filter=A \
27
+ "origin/${BASE_REF}...HEAD" \
28
+ -- 'changes/*' \
29
+ | grep -E "\.(${FRAGMENT_TYPES})$" || true)
30
+ if [ -z "$FRAGMENTS" ]; then
31
+ echo "::error::No changelog fragment found. Add a fragment file in" \
32
+ "changes/ (for example, changes/${PR_NUMBER}.added)." \
33
+ "See changes/README.md for details."
34
+ exit 1
35
+ fi
36
+
37
+ EMPTY_FRAGMENTS=""
38
+ while IFS= read -r fragment; do
39
+ [ -n "$fragment" ] || continue
40
+
41
+ if ! grep -q '[^[:space:]]' "$fragment"; then
42
+ EMPTY_FRAGMENTS="${EMPTY_FRAGMENTS}${fragment}\n"
43
+ fi
44
+ done <<EOF
45
+ $FRAGMENTS
46
+ EOF
47
+
48
+ if [ -n "$EMPTY_FRAGMENTS" ]; then
49
+ echo "::error::Empty changelog fragment(s) found. Add a user-facing" \
50
+ "release note to each fragment file:"
51
+ printf '%b' "$EMPTY_FRAGMENTS"
52
+ exit 1
53
+ fi
54
+
55
+ echo "Found changelog fragment(s):"
56
+ echo "$FRAGMENTS"
57
+ format:
58
+ runs-on: ubuntu-latest
59
+ steps:
60
+ - name: Check out code
61
+ uses: actions/checkout@v6
62
+ - uses: ./.github/actions/setup-python-uv
63
+ with:
64
+ python-version: "3.13"
65
+ - name: Format with ruff
66
+ run: uv run ruff format --check .
67
+ lint-python:
68
+ runs-on: ubuntu-latest
69
+ steps:
70
+ - name: Check out code
71
+ uses: actions/checkout@v6
72
+ - uses: ./.github/actions/setup-python-uv
73
+ with:
74
+ python-version: "3.13"
75
+ - name: Lint with ruff
76
+ run: uv run ruff check .
77
+ security-scan:
78
+ runs-on: ubuntu-latest
79
+ steps:
80
+ - name: Check out code
81
+ uses: actions/checkout@v6
82
+ - uses: ./.github/actions/setup-python-uv
83
+ with:
84
+ python-version: "3.13"
85
+ - name: Security scan with bandit
86
+ run: uv run bandit -r src/
87
+ check-complexity:
88
+ runs-on: ubuntu-latest
89
+ steps:
90
+ - name: Check out code
91
+ uses: actions/checkout@v6
92
+ - uses: ./.github/actions/setup-python-uv
93
+ with:
94
+ python-version: "3.13"
95
+ - name: Check code complexity with xenon
96
+ run: uv run xenon --max-absolute B --max-modules B --max-average A src/
97
+ check-types:
98
+ runs-on: ubuntu-latest
99
+ strategy:
100
+ fail-fast: false
101
+ matrix:
102
+ python-version: ["3.11", "3.12", "3.13"]
103
+ steps:
104
+ - name: Check out code
105
+ uses: actions/checkout@v6
106
+ - uses: ./.github/actions/setup-python-uv
107
+ with:
108
+ python-version: ${{ matrix.python-version }}
109
+ - name: Check type hints with ty
110
+ run: uv run ty check .
111
+ unit-test:
112
+ runs-on: ubuntu-latest
113
+ strategy:
114
+ fail-fast: false
115
+ matrix:
116
+ python-version: ["3.11", "3.12", "3.13"]
117
+ steps:
118
+ - name: Check out code
119
+ uses: actions/checkout@v6
120
+ - uses: ./.github/actions/setup-python-uv
121
+ with:
122
+ python-version: ${{ matrix.python-version }}
123
+ - name: Run unit tests with pytest
124
+ run: uv run pytest --cov=src --cov-report=term-missing
125
+ format-docs:
126
+ runs-on: ubuntu-latest
127
+ steps:
128
+ - name: Check out code
129
+ uses: actions/checkout@v6
130
+ - uses: ./.github/actions/setup-python-uv
131
+ with:
132
+ python-version: "3.13"
133
+ - name: Install docs dependencies
134
+ run: uv sync --group docs
135
+ - name: Check markdown formatting with mdformat
136
+ run: uv run mdformat --check docs/
137
+ docs-build:
138
+ runs-on: ubuntu-latest
139
+ steps:
140
+ - name: Check out code
141
+ uses: actions/checkout@v6
142
+ - uses: ./.github/actions/setup-python-uv
143
+ with:
144
+ python-version: "3.13"
145
+ - name: Install docs dependencies
146
+ run: uv sync --group docs
147
+ - name: Build docs site in strict mode
148
+ run: uv run mkdocs build --strict
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: Deploy documentation
3
+ on: # yamllint disable-line rule:truthy
4
+ push:
5
+ branches:
6
+ - main
7
+ tags:
8
+ - "v*"
9
+ permissions:
10
+ contents: write
11
+ concurrency:
12
+ group: docs-deploy
13
+ cancel-in-progress: false
14
+ jobs:
15
+ deploy:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Check out code
19
+ uses: actions/checkout@v6
20
+ with:
21
+ fetch-depth: 0
22
+ - uses: ./.github/actions/setup-python-uv
23
+ with:
24
+ python-version: "3.13"
25
+ - name: Install docs dependencies
26
+ run: uv sync --group docs
27
+ - name: Deploy to GitHub Pages
28
+ run: uv run mkdocs gh-deploy --force
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: Release and Publish to PyPI
3
+ on: # yamllint disable-line rule:truthy
4
+ push:
5
+ tags:
6
+ - "v*.*.*"
7
+ concurrency:
8
+ group: ${{ github.workflow }}-${{ github.ref }}
9
+ cancel-in-progress: true
10
+ jobs:
11
+ validate-tag:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Validate tag format
15
+ run: |
16
+ TAG="${{ github.ref_name }}"
17
+ if ! echo "$TAG" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+$'; then
18
+ echo "Error: Tag '$TAG' does not match semver format v<MAJOR>.<MINOR>.<PATCH>"
19
+ echo "Expected format: v0.1.0, v1.2.3, etc."
20
+ exit 1
21
+ fi
22
+ echo "Tag '$TAG' is valid semver format"
23
+ test:
24
+ needs: validate-tag
25
+ runs-on: ubuntu-latest
26
+ strategy:
27
+ fail-fast: false
28
+ matrix:
29
+ python-version: ["3.11", "3.12", "3.13"]
30
+ steps:
31
+ - name: Check out code
32
+ uses: actions/checkout@v6
33
+ with:
34
+ fetch-depth: 0
35
+ - uses: ./.github/actions/setup-python-uv
36
+ with:
37
+ python-version: ${{ matrix.python-version }}
38
+ - name: Run unit tests with pytest
39
+ run: uv run pytest --cov=src --cov-report=term-missing
40
+ build:
41
+ needs: test
42
+ runs-on: ubuntu-latest
43
+ steps:
44
+ - name: Check out code
45
+ uses: actions/checkout@v6
46
+ with:
47
+ fetch-depth: 0
48
+ - uses: ./.github/actions/setup-python-uv
49
+ with:
50
+ python-version: "3.13"
51
+ - name: Build package
52
+ run: uv build
53
+ - name: Verify package version matches tag
54
+ env:
55
+ TAG_NAME: ${{ github.ref_name }}
56
+ run: |
57
+ PKG_VERSION=$(uv run python -c "from huginn._version import __version__; print(__version__)")
58
+ TAG_VERSION="${TAG_NAME#v}"
59
+ if [ "$PKG_VERSION" != "$TAG_VERSION" ]; then
60
+ echo "::error::Tag version ($TAG_VERSION) does not match package version ($PKG_VERSION)"
61
+ exit 1
62
+ fi
63
+ - name: Upload distribution artifacts
64
+ uses: actions/upload-artifact@v7
65
+ with:
66
+ name: dist
67
+ path: dist/
68
+ release:
69
+ needs: build
70
+ runs-on: ubuntu-latest
71
+ permissions:
72
+ contents: write
73
+ steps:
74
+ - name: Check out code
75
+ uses: actions/checkout@v6
76
+ - name: Extract changelog for this version
77
+ env:
78
+ TAG_NAME: ${{ github.ref_name }}
79
+ run: |
80
+ VERSION="${TAG_NAME#v}"
81
+ awk "/^## ${VERSION} /{found=1; next} /^## /{if(found) exit} found" CHANGELOG.md > release_notes.md
82
+ if [ ! -s release_notes.md ]; then
83
+ echo "No changelog entry found for version ${VERSION}" > release_notes.md
84
+ fi
85
+ - name: Create GitHub release
86
+ env:
87
+ GH_TOKEN: ${{ github.token }}
88
+ TAG_NAME: ${{ github.ref_name }}
89
+ run: gh release create "$TAG_NAME" --title "$TAG_NAME" --notes-file release_notes.md
90
+ publish:
91
+ needs: [build, release]
92
+ runs-on: ubuntu-latest
93
+ environment: pypi
94
+ steps:
95
+ - name: Download distribution artifacts
96
+ uses: actions/download-artifact@v8
97
+ with:
98
+ name: dist
99
+ path: dist/
100
+ - name: Publish to PyPI
101
+ uses: pypa/gh-action-pypi-publish@release/v1
102
+ with:
103
+ password: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,13 @@
1
+ BRKXAR-2032-test-automation
2
+
3
+ # Compiled Python files
4
+ *.pyc
5
+
6
+ # Generated version file (hatch-vcs)
7
+ src/huginn/_version.py
8
+
9
+ # Local coverage artifacts
10
+ .coverage
11
+
12
+ # MkDocs build output
13
+ /site/
@@ -0,0 +1 @@
1
+ number = true
@@ -0,0 +1,46 @@
1
+ ---
2
+ repos:
3
+ - repo: https://github.com/pre-commit/pre-commit-hooks
4
+ rev: v6.0.0
5
+ hooks:
6
+ - id: check-added-large-files
7
+ - id: check-ast
8
+ - id: check-builtin-literals
9
+ - id: check-case-conflict
10
+ - id: check-docstring-first
11
+ - id: check-executables-have-shebangs
12
+ - id: check-illegal-windows-names
13
+ - id: check-json
14
+ - id: check-merge-conflict
15
+ - id: check-shebang-scripts-are-executable
16
+ - id: check-symlinks
17
+ types: [python]
18
+ - id: check-toml
19
+ - id: check-xml
20
+ - id: check-yaml
21
+ - id: debug-statements
22
+ - id: destroyed-symlinks
23
+ - id: detect-aws-credentials
24
+ args: [--allow-missing-credentials]
25
+ - id: detect-private-key
26
+ - id: end-of-file-fixer
27
+ - id: forbid-submodules
28
+ - id: name-tests-test
29
+ args: [--pytest-test-first]
30
+ exclude: ^tests/fixtures/
31
+ - id: pretty-format-json
32
+ args: [--no-sort-keys, --indent=4]
33
+ - id: requirements-txt-fixer
34
+ - id: trailing-whitespace
35
+ - repo: https://github.com/astral-sh/ruff-pre-commit
36
+ rev: v0.14.9
37
+ hooks:
38
+ - id: ruff
39
+ args: [--fix]
40
+ - id: ruff-format
41
+ - repo: https://github.com/rubik/xenon
42
+ rev: v0.9.3
43
+ hooks:
44
+ - id: xenon
45
+ args: ['--max-absolute=C', '--max-modules=B', '--max-average=B']
46
+ exclude: ^tests/
@@ -0,0 +1 @@
1
+ 3.13
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+
3
+ All notable changes to Huginn are documented in this file.
4
+
5
+ <!-- towncrier release notes start -->
6
+
7
+ ## 0.1.0 - 2026-06-15
8
+
9
+ ### Added
10
+
11
+ - Initial release of the `huginn-framework` package with async-first test automation, plugin-based architecture, and SSH/HTTP/NETCONF brokers.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2025 Chartino Labs
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: huginn-framework
3
+ Version: 0.1.0
4
+ Summary: A Python-native, async-first test automation framework for network infrastructure, servers, and applications.
5
+ Author-email: Christopher Hart <christopherjhart95@gmail.com>, Andrea Testino <aitestino@gmail.com>
6
+ License-File: LICENSE
7
+ Requires-Python: >=3.11
8
+ Requires-Dist: aiohttp>=3.14.0
9
+ Requires-Dist: jinja2>=3.1.6
10
+ Requires-Dist: markdown>=3.8.2
11
+ Requires-Dist: pyyaml>=6.0.3
12
+ Requires-Dist: ruamel-yaml>=0.18.10
13
+ Requires-Dist: scrapli-netconf[asyncssh]>=2026.1.12
14
+ Requires-Dist: scrapli[asyncssh]>=2026.2.20
15
+ Requires-Dist: typer>=0.26.7
16
+ Description-Content-Type: text/markdown
17
+
18
+ # Huginn
19
+
20
+ [![CI](https://github.com/ChartinoLabs/Huginn/actions/workflows/ci.yml/badge.svg)](https://github.com/ChartinoLabs/Huginn/actions/workflows/ci.yml)
21
+ [![Python](https://img.shields.io/badge/python-%3E%3D3.11-blue?logo=python&logoColor=white)](https://www.python.org)
22
+ [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
23
+
24
+ A Python-native, async-first test automation framework for network infrastructure, servers, and applications.
25
+
26
+ ## Overview
27
+
28
+ Huginn is designed for skilled test engineers who need to validate infrastructure state at scale. Named after one of Odin's ravens who flies across the world gathering information, Huginn dispatches tests to observe your infrastructure, gather state, and report findings. The framework maintains a minimal core with optional plugins, handles test orchestration and connection management, and supports dual execution modes: learning current state from live infrastructure and testing against previously-learned parameters.
29
+
30
+ ## Installation
31
+
32
+ ```bash
33
+ pip install git+https://github.com/ChartinoLabs/Huginn.git
34
+ ```
35
+
36
+ Or using [uv](https://docs.astral.sh/uv/):
37
+
38
+ ```bash
39
+ uv add git+https://github.com/ChartinoLabs/Huginn.git
40
+ ```
41
+
42
+ Requires Python 3.11 or later. See the [documentation](https://chartinolabs.github.io/Huginn/) for a full quickstart guide.
43
+
44
+ ## License
45
+
46
+ Licensed under the Apache License 2.0.
@@ -0,0 +1,29 @@
1
+ # Huginn
2
+
3
+ [![CI](https://github.com/ChartinoLabs/Huginn/actions/workflows/ci.yml/badge.svg)](https://github.com/ChartinoLabs/Huginn/actions/workflows/ci.yml)
4
+ [![Python](https://img.shields.io/badge/python-%3E%3D3.11-blue?logo=python&logoColor=white)](https://www.python.org)
5
+ [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
6
+
7
+ A Python-native, async-first test automation framework for network infrastructure, servers, and applications.
8
+
9
+ ## Overview
10
+
11
+ Huginn is designed for skilled test engineers who need to validate infrastructure state at scale. Named after one of Odin's ravens who flies across the world gathering information, Huginn dispatches tests to observe your infrastructure, gather state, and report findings. The framework maintains a minimal core with optional plugins, handles test orchestration and connection management, and supports dual execution modes: learning current state from live infrastructure and testing against previously-learned parameters.
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ pip install git+https://github.com/ChartinoLabs/Huginn.git
17
+ ```
18
+
19
+ Or using [uv](https://docs.astral.sh/uv/):
20
+
21
+ ```bash
22
+ uv add git+https://github.com/ChartinoLabs/Huginn.git
23
+ ```
24
+
25
+ Requires Python 3.11 or later. See the [documentation](https://chartinolabs.github.io/Huginn/) for a full quickstart guide.
26
+
27
+ ## License
28
+
29
+ Licensed under the Apache License 2.0.