techui-builder 0.4.0a1__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.

Potentially problematic release.


This version of techui-builder might be problematic. Click here for more details.

Files changed (213) hide show
  1. techui_builder-0.4.0a1/.copier-answers.yml +19 -0
  2. techui_builder-0.4.0a1/.devcontainer/devcontainer.json +79 -0
  3. techui_builder-0.4.0a1/.devcontainer/install_lazygit.sh +8 -0
  4. techui_builder-0.4.0a1/.github/CONTRIBUTING.md +27 -0
  5. techui_builder-0.4.0a1/.github/ISSUE_TEMPLATE/bug_report.md +21 -0
  6. techui_builder-0.4.0a1/.github/ISSUE_TEMPLATE/issue.md +13 -0
  7. techui_builder-0.4.0a1/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +8 -0
  8. techui_builder-0.4.0a1/.github/actions/install_requirements/action.yml +38 -0
  9. techui_builder-0.4.0a1/.github/dependabot.yml +28 -0
  10. techui_builder-0.4.0a1/.github/pages/index.html +11 -0
  11. techui_builder-0.4.0a1/.github/pages/make_switcher.py +96 -0
  12. techui_builder-0.4.0a1/.github/workflows/_dist.yml +46 -0
  13. techui_builder-0.4.0a1/.github/workflows/_docs.yml +55 -0
  14. techui_builder-0.4.0a1/.github/workflows/_pypi.yml +19 -0
  15. techui_builder-0.4.0a1/.github/workflows/_release.yml +43 -0
  16. techui_builder-0.4.0a1/.github/workflows/_test.yml +63 -0
  17. techui_builder-0.4.0a1/.github/workflows/_tox.yml +22 -0
  18. techui_builder-0.4.0a1/.github/workflows/ci.yml +46 -0
  19. techui_builder-0.4.0a1/.github/workflows/periodic.yml +13 -0
  20. techui_builder-0.4.0a1/.gitignore +79 -0
  21. techui_builder-0.4.0a1/.pre-commit-config.yaml +34 -0
  22. techui_builder-0.4.0a1/.vscode/extensions.json +5 -0
  23. techui_builder-0.4.0a1/.vscode/launch.json +18 -0
  24. techui_builder-0.4.0a1/.vscode/settings.json +14 -0
  25. techui_builder-0.4.0a1/.vscode/tasks.json +16 -0
  26. techui_builder-0.4.0a1/Dockerfile +43 -0
  27. techui_builder-0.4.0a1/LICENSE +201 -0
  28. techui_builder-0.4.0a1/PKG-INFO +93 -0
  29. techui_builder-0.4.0a1/README.md +73 -0
  30. techui_builder-0.4.0a1/catalog-info.yaml +10 -0
  31. techui_builder-0.4.0a1/docs/conf.py +231 -0
  32. techui_builder-0.4.0a1/example/t01-services/services/bl01t-mo-ioc-01/config/ioc.yaml +85 -0
  33. techui_builder-0.4.0a1/example/t01-services/synoptic/index.bob +79 -0
  34. techui_builder-0.4.0a1/example/t01-services/synoptic/techui.yaml +21 -0
  35. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/LICENSE +201 -0
  36. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/ADAravis/ADAravis_detail.bob +1972 -0
  37. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/ADAravis/ADAravis_summary.bob +1582 -0
  38. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/ADAravis/NDFileHDF5.pvi.bob +4702 -0
  39. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/ADAravis/NDPluginPva.pvi.bob +1537 -0
  40. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/ADAravis/NDPluginROI.pvi.bob +2218 -0
  41. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/ADAravis/NDPluginStats.pvi.bob +3422 -0
  42. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/digitelMpc/digitelMpcIonp.bob +427 -0
  43. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/mks937a/mks937a.bob +260 -0
  44. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/mks937a/mks937aGauge.bob +160 -0
  45. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/mks937a/mks937aImg.bob +336 -0
  46. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/mks937a/mks937aPirg.bob +320 -0
  47. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/pmac/MOTOR.bob +1585 -0
  48. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/pmac/motor_embed.bob +237 -0
  49. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/pmac/pmacController.bob +1329 -0
  50. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/pmac/ppmacController.bob +1185 -0
  51. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/rga/rga.bob +1005 -0
  52. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/vacuumValve/vacuumValve.bob +333 -0
  53. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/bob/vacuumValve/vacuumValveInterlocks.bob +1266 -0
  54. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/3DCM_diag_3.gif +0 -0
  55. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/Beamline_Image.png +0 -0
  56. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/Beamline_Image_Colour.png +0 -0
  57. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/Panda.jpg +0 -0
  58. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/WoodenArch.jpg +0 -0
  59. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/absorber 1 (copy).svg +78 -0
  60. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/absorber 1.svg +79 -0
  61. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/aperture.svg +263 -0
  62. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/camera +0 -0
  63. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/camera-1.svg +13 -0
  64. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/dcm.svg +554 -0
  65. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/diag-stick-camera.svg +460 -0
  66. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/diag-stick-camera_flipped.png +0 -0
  67. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/diag-stick.svg +417 -0
  68. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/fastValve 1 (copy).svg +154 -0
  69. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/fastValve 1.svg +153 -0
  70. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/floodgate.jpg +0 -0
  71. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/fm.png +0 -0
  72. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/fm.svg +421 -0
  73. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/fvg 0.svg +82 -0
  74. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/hfm.svg +740 -0
  75. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/img 0 (copy).svg +98 -0
  76. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/img 0.svg +102 -0
  77. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/ionp 4 (another copy).svg +106 -0
  78. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/ionp 4 (copy).svg +116 -0
  79. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/ionp 4.svg +107 -0
  80. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/manualValve 1 (copy).svg +141 -0
  81. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/manualValve 1.svg +140 -0
  82. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/motors +0 -0
  83. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/pirg 0 (copy).svg +131 -0
  84. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/pirg 0.svg +130 -0
  85. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/rga 0.svg +151 -0
  86. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/ring 0.svg +575 -0
  87. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/ring 1.png +592 -0
  88. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/ring 1.svg +592 -0
  89. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/shutter 1 (copy).svg +89 -0
  90. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/shutter 1.svg +90 -0
  91. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/shutter 2.svg +97 -0
  92. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/shutter 3.svg +90 -0
  93. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/slits.svg +664 -0
  94. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/space 0.svg +76 -0
  95. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/spacenew 0.svg +93 -0
  96. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/table.png +0 -0
  97. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/valve 1 (copy).svg +141 -0
  98. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/valve 1.svg +140 -0
  99. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/vfm-up.svg +740 -0
  100. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/webcam.png +0 -0
  101. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/symbols/webcam.svg +476 -0
  102. techui_builder-0.4.0a1/example/t01-services/synoptic/techui_support/techui_support.yaml +60 -0
  103. techui_builder-0.4.0a1/example-synoptic/b23-services/services/bl23b-di-mod-01/config/ioc.yaml +120 -0
  104. techui_builder-0.4.0a1/example-synoptic/b23-services/services/bl23b-di-mod-02/config/ioc.yaml +120 -0
  105. techui_builder-0.4.0a1/example-synoptic/b23-services/services/bl23b-di-uvcam-01/config/ioc.yaml +195 -0
  106. techui_builder-0.4.0a1/example-synoptic/b23-services/services/bl23b-di-uvcam-02/config/ioc.yaml +195 -0
  107. techui_builder-0.4.0a1/example-synoptic/b23-services/services/bl23b-mo-ioc-01/config/ioc.yaml +100 -0
  108. techui_builder-0.4.0a1/example-synoptic/b23-services/services/bl23b-va-ioc-01/config/ioc.yaml +481 -0
  109. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/index.bob +2924 -0
  110. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui.yaml +149 -0
  111. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/LICENSE +201 -0
  112. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/ADAravis/ADAravis_detail.bob +1972 -0
  113. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/ADAravis/ADAravis_summary.bob +1582 -0
  114. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/ADAravis/NDFileHDF5.pvi.bob +4702 -0
  115. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/ADAravis/NDPluginPva.pvi.bob +1537 -0
  116. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/ADAravis/NDPluginROI.pvi.bob +2218 -0
  117. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/ADAravis/NDPluginStats.pvi.bob +3422 -0
  118. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/digitelMpc/digitelMpcIonp.bob +427 -0
  119. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/mks937a/mks937a.bob +260 -0
  120. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/mks937a/mks937aGauge.bob +160 -0
  121. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/mks937a/mks937aImg.bob +336 -0
  122. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/mks937a/mks937aPirg.bob +320 -0
  123. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/pmac/MOTOR.bob +1585 -0
  124. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/pmac/motor_embed.bob +237 -0
  125. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/pmac/pmacController.bob +1329 -0
  126. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/pmac/ppmacController.bob +1185 -0
  127. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/rga/rga.bob +1005 -0
  128. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/vacuumValve/vacuumValve.bob +333 -0
  129. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/bob/vacuumValve/vacuumValveInterlocks.bob +1266 -0
  130. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/3DCM_diag_3.gif +0 -0
  131. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/Beamline_Image.png +0 -0
  132. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/Beamline_Image_Colour.png +0 -0
  133. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/Panda.jpg +0 -0
  134. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/WoodenArch.jpg +0 -0
  135. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/absorber 1 (copy).svg +78 -0
  136. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/absorber 1.svg +79 -0
  137. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/aperture.svg +263 -0
  138. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/camera +0 -0
  139. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/camera-1.svg +13 -0
  140. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/dcm.svg +554 -0
  141. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/diag-stick-camera.svg +460 -0
  142. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/diag-stick-camera_flipped.png +0 -0
  143. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/diag-stick.svg +417 -0
  144. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/fastValve 1 (copy).svg +154 -0
  145. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/fastValve 1.svg +153 -0
  146. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/floodgate.jpg +0 -0
  147. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/fm.png +0 -0
  148. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/fm.svg +421 -0
  149. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/fvg 0.svg +82 -0
  150. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/hfm.svg +740 -0
  151. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/img 0 (copy).svg +98 -0
  152. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/img 0.svg +102 -0
  153. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/ionp 4 (another copy).svg +106 -0
  154. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/ionp 4 (copy).svg +116 -0
  155. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/ionp 4.svg +107 -0
  156. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/manualValve 1 (copy).svg +141 -0
  157. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/manualValve 1.svg +140 -0
  158. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/motors +0 -0
  159. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/pirg 0 (copy).svg +131 -0
  160. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/pirg 0.svg +130 -0
  161. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/rga 0.svg +151 -0
  162. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/ring 0.svg +575 -0
  163. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/ring 1.png +592 -0
  164. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/ring 1.svg +592 -0
  165. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/shutter 1 (copy).svg +89 -0
  166. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/shutter 1.svg +90 -0
  167. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/shutter 2.svg +97 -0
  168. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/shutter 3.svg +90 -0
  169. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/slits.svg +664 -0
  170. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/space 0.svg +76 -0
  171. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/spacenew 0.svg +93 -0
  172. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/table.png +0 -0
  173. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/valve 1 (copy).svg +141 -0
  174. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/valve 1.svg +140 -0
  175. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/vfm-up.svg +740 -0
  176. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/webcam.png +0 -0
  177. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/symbols/webcam.svg +476 -0
  178. techui_builder-0.4.0a1/example-synoptic/b23-services/synoptic/techui_support/techui_support.yaml +60 -0
  179. techui_builder-0.4.0a1/pyproject.toml +167 -0
  180. techui_builder-0.4.0a1/setup.cfg +4 -0
  181. techui_builder-0.4.0a1/src/techui_builder/__init__.py +16 -0
  182. techui_builder-0.4.0a1/src/techui_builder/__main__.py +195 -0
  183. techui_builder-0.4.0a1/src/techui_builder/_version.py +34 -0
  184. techui_builder-0.4.0a1/src/techui_builder/autofill.py +106 -0
  185. techui_builder-0.4.0a1/src/techui_builder/builder.py +292 -0
  186. techui_builder-0.4.0a1/src/techui_builder/generate.py +398 -0
  187. techui_builder-0.4.0a1/src/techui_builder/models.py +166 -0
  188. techui_builder-0.4.0a1/src/techui_builder/schema_generator.py +27 -0
  189. techui_builder-0.4.0a1/src/techui_builder.egg-info/PKG-INFO +93 -0
  190. techui_builder-0.4.0a1/src/techui_builder.egg-info/SOURCES.txt +211 -0
  191. techui_builder-0.4.0a1/src/techui_builder.egg-info/dependency_links.txt +1 -0
  192. techui_builder-0.4.0a1/src/techui_builder.egg-info/entry_points.txt +2 -0
  193. techui_builder-0.4.0a1/src/techui_builder.egg-info/requires.txt +6 -0
  194. techui_builder-0.4.0a1/src/techui_builder.egg-info/top_level.txt +1 -0
  195. techui_builder-0.4.0a1/tests/__init__.py +0 -0
  196. techui_builder-0.4.0a1/tests/conftest.py +48 -0
  197. techui_builder-0.4.0a1/tests/test_builder.py +294 -0
  198. techui_builder-0.4.0a1/tests/test_cli.py +22 -0
  199. techui_builder-0.4.0a1/tests/test_files/group.xml +64 -0
  200. techui_builder-0.4.0a1/tests/test_files/index.bob +79 -0
  201. techui_builder-0.4.0a1/tests/test_files/motor.bob +54 -0
  202. techui_builder-0.4.0a1/tests/test_files/motor_bad.bob +52 -0
  203. techui_builder-0.4.0a1/tests/test_files/motor_embed.bob +237 -0
  204. techui_builder-0.4.0a1/tests/test_files/test_bob.bob +19 -0
  205. techui_builder-0.4.0a1/tests/test_files/test_bob_bad.bob +3 -0
  206. techui_builder-0.4.0a1/tests/test_files/widget.xml +13 -0
  207. techui_builder-0.4.0a1/tests/test_files/widget_bad.xml +13 -0
  208. techui_builder-0.4.0a1/tests/test_files/widget_bad_2.xml +9 -0
  209. techui_builder-0.4.0a1/tests/test_files/widget_related.xml +21 -0
  210. techui_builder-0.4.0a1/tests/test_files/widget_related_no_suffix.xml +20 -0
  211. techui_builder-0.4.0a1/tests/test_generate.py +332 -0
  212. techui_builder-0.4.0a1/tests/test_models.py +68 -0
  213. techui_builder-0.4.0a1/uv.lock +1535 -0
@@ -0,0 +1,19 @@
1
+ # Changes here will be overwritten by Copier
2
+ _commit: 4.1.0-7-gb8b3f90
3
+ _src_path: gh:DiamondLightSource/python-copier-template
4
+ author_email: oliver.copping@diamond.ac.uk
5
+ author_name: Oliver Copping
6
+ component_lifecycle: experimental
7
+ component_owner: group:default/sscc
8
+ component_type: library
9
+ description: A package for building Phoebus GUIs
10
+ distribution_name: techui-builder
11
+ docker: false
12
+ docs_type: README
13
+ git_platform: github.com
14
+ github_org: DiamondLightSource
15
+ package_name: techui_builder
16
+ pypi: true
17
+ repo_name: techui-builder
18
+ strict_typing: false
19
+ type_checker: pyright
@@ -0,0 +1,79 @@
1
+ // For format details, see https://containers.dev/implementors/json_reference/
2
+ {
3
+ "name": "Python 3 Developer Container",
4
+ "build": {
5
+ "dockerfile": "../Dockerfile",
6
+ "target": "developer"
7
+ },
8
+ "remoteEnv": {
9
+ // Allow X11 apps to run inside the container
10
+ "DISPLAY": "${localEnv:DISPLAY}",
11
+ // We put venv on a different volume to cache so have to copy
12
+ "UV_LINK_MODE": "copy",
13
+ // Do the equivalent of "activate" the venv so we don't have to "uv run" everything
14
+ "PATH": "/workspaces/${localWorkspaceFolderBasename}/.venv/bin:${localEnv:PATH}"
15
+ },
16
+ "customizations": {
17
+ "vscode": {
18
+ // Set *default* container specific settings.json values on container create.
19
+ "settings": {
20
+ "python.defaultInterpreterPath": "/workspaces/${localWorkspaceFolderBasename}/.venv/bin/python",
21
+ "python.terminal.activateEnvInCurrentTerminal": false,
22
+ "python.terminal.activateEnvironment": false,
23
+ "python.testing.unittestEnabled": false,
24
+ "python.testing.pytestEnabled": true,
25
+ "editor.formatOnSave": true,
26
+ "editor.codeActionsOnSave": {
27
+ "source.organizeImports": "explicit"
28
+ },
29
+ "remote.autoForwardPorts": false,
30
+ "[python]": {
31
+ "editor.defaultFormatter": "charliermarsh.ruff"
32
+ }
33
+ },
34
+ // Add the IDs of extensions you want installed when the container is created.
35
+ "extensions": [
36
+ "ms-python.python",
37
+ "github.vscode-github-actions",
38
+ "tamasfe.even-better-toml",
39
+ "redhat.vscode-yaml",
40
+ "ryanluker.vscode-coverage-gutters",
41
+ "charliermarsh.ruff",
42
+ "ms-azuretools.vscode-docker"
43
+ ]
44
+ }
45
+ },
46
+ // Create the config folder for the bash-config feature and uv cache
47
+ "initializeCommand": "mkdir -p ${localEnv:HOME}/.config/terminal-config ${localEnv:HOME}/.cache/uv",
48
+ "runArgs": [
49
+ // Allow the container to access the host X11 display and EPICS CA
50
+ "--net=host",
51
+ // Make sure SELinux does not disable with access to host filesystems like tmp
52
+ "--security-opt=label=disable"
53
+ ],
54
+ // Populate the user's terminal config folder with default config if it is blank
55
+ "onCreateCommand": "/root/terminal-config/ensure-user-terminal-config.sh",
56
+ "mounts": [
57
+ // Mount in the user terminal config folder so it can be edited
58
+ {
59
+ "source": "${localEnv:HOME}/.config/terminal-config",
60
+ "target": "/user-terminal-config",
61
+ "type": "bind"
62
+ },
63
+ // Keep a persistent cross container cache for uv
64
+ {
65
+ "source": "${localEnv:HOME}/.cache/uv",
66
+ "target": "/root/.cache/uv",
67
+ "type": "bind"
68
+ },
69
+ // Use a volume mount for the uv venv so it is local to the container
70
+ {
71
+ "target": "/workspaces/${localWorkspaceFolderBasename}/.venv",
72
+ "type": "volume"
73
+ }
74
+ ],
75
+ // Mount the parent as /workspaces so we can pip install peers as editable
76
+ "workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind",
77
+ // After the container is created, install the python project in editable form
78
+ "postCreateCommand": "uv sync && uv run pre-commit install"
79
+ }
@@ -0,0 +1,8 @@
1
+ # Download and install latest lazygit binary
2
+ LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
3
+ curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
4
+ tar xf lazygit.tar.gz lazygit
5
+ install lazygit /usr/local/bin
6
+
7
+ # Cleanup
8
+ rm lazygit.tar.gz lazygit
@@ -0,0 +1,27 @@
1
+ # Contribute to the project
2
+
3
+ Contributions and issues are most welcome! All issues and pull requests are
4
+ handled through [GitHub](https://github.com/DiamondLightSource/techui-builder/issues). Also, please check for any existing issues before
5
+ filing a new one. If you have a great idea but it involves big changes, please
6
+ file a ticket before making a pull request! We want to make sure you don't spend
7
+ your time coding something that might not fit the scope of the project.
8
+
9
+ ## Issue or Discussion?
10
+
11
+ Github also offers [discussions](https://github.com/DiamondLightSource/techui-builder/discussions) as a place to ask questions and share ideas. If
12
+ your issue is open ended and it is not obvious when it can be "closed", please
13
+ raise it as a discussion instead.
14
+
15
+ ## Code Coverage
16
+
17
+ While 100% code coverage does not make a library bug-free, it significantly
18
+ reduces the number of easily caught bugs! Please make sure coverage remains the
19
+ same or is improved by a pull request!
20
+
21
+ ## Developer Information
22
+
23
+ It is recommended that developers use a [vscode devcontainer](https://code.visualstudio.com/docs/devcontainers/containers). This repository contains configuration to set up a containerized development environment that suits its own needs.
24
+
25
+ This project was created using the [Diamond Light Source Copier Template](https://github.com/DiamondLightSource/python-copier-template) for Python projects.
26
+
27
+ For more information on common tasks like setting up a developer environment, running the tests, and setting a pre-commit hook, see the template's [How-to guides](https://diamondlightsource.github.io/python-copier-template/4.1.0/how-to.html).
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: Bug Report
3
+ about: The template to use for reporting bugs and usability issues
4
+ title: " "
5
+ labels: 'bug'
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ Describe the bug, including a clear and concise description of the expected behaviour, the actual behavior and the context in which you encountered it (ideally include details of your environment).
11
+
12
+ ## Steps To Reproduce
13
+ Steps to reproduce the behavior:
14
+ 1. Go to '...'
15
+ 2. Click on '....'
16
+ 3. Scroll down to '....'
17
+ 4. See error
18
+
19
+
20
+ ## Acceptance Criteria
21
+ - Specific criteria that will be used to judge if the issue is fixed
@@ -0,0 +1,13 @@
1
+ ---
2
+ name: Issue
3
+ about: The standard template to use for feature requests, design discussions and tasks
4
+ title: " "
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ A brief description of the issue, including specific stakeholders and the business case where appropriate
11
+
12
+ ## Acceptance Criteria
13
+ - Specific criteria that will be used to judge if the issue is fixed
@@ -0,0 +1,8 @@
1
+ Fixes #ISSUE
2
+
3
+ ### Instructions to reviewer on how to test:
4
+ 1. Do thing x
5
+ 2. Confirm thing y happens
6
+
7
+ ### Checks for reviewer
8
+ - [ ] Would the PR title make sense to a user on a set of release notes
@@ -0,0 +1,38 @@
1
+ name: Install requirements
2
+ description: Install uv, use it to install dependencies and report what was installed
3
+ inputs:
4
+ python-version:
5
+ description: Python version to install, default is from Dockerfile
6
+ default: "dev"
7
+ uv-sync:
8
+ description: Parameters to pass to uv sync
9
+ default: "--locked"
10
+
11
+ runs:
12
+ using: composite
13
+ steps:
14
+ - name: Get version of python
15
+ run: |
16
+ PYTHON_VERSION="${{ inputs.python-version }}"
17
+ if [ $PYTHON_VERSION == "dev" ]; then
18
+ # python version from Dockerfile, removing potential pinned sha
19
+ PYTHON_VERSION=$(sed -Ene "s/ARG PYTHON_VERSION=([0-9\.]+).*/\1/p" Dockerfile)
20
+ fi
21
+ echo "PYTHON_VERSION=$PYTHON_VERSION" >> "$GITHUB_ENV"
22
+ shell: bash
23
+
24
+ - name: Install uv and set the python version
25
+ uses: astral-sh/setup-uv@v6
26
+ with:
27
+ python-version: ${{ env.PYTHON_VERSION }}
28
+ enable-cache: true
29
+ cache-dependency-glob: "uv.lock"
30
+ activate-environment: true
31
+
32
+ - name: Install packages
33
+ run: uv sync ${{ inputs.uv-sync }}
34
+ shell: bash
35
+
36
+ - name: Report what was installed
37
+ run: uv pip freeze
38
+ shell: bash
@@ -0,0 +1,28 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "github-actions"
9
+ directory: "/"
10
+ schedule:
11
+ interval: "weekly"
12
+ groups:
13
+ actions:
14
+ patterns:
15
+ - "*"
16
+ commit-message:
17
+ prefix: "chore"
18
+
19
+ - package-ecosystem: "pip"
20
+ directory: "/"
21
+ schedule:
22
+ interval: "weekly"
23
+ groups:
24
+ dev-dependencies:
25
+ patterns:
26
+ - "*"
27
+ commit-message:
28
+ prefix: "chore"
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ <title>Redirecting to main branch</title>
6
+ <meta charset="utf-8">
7
+ <meta http-equiv="refresh" content="0; url=./main/index.html">
8
+ <link rel="canonical" href="main/index.html">
9
+ </head>
10
+
11
+ </html>
@@ -0,0 +1,96 @@
1
+ """Make switcher.json to allow docs to switch between different versions."""
2
+
3
+ import json
4
+ import logging
5
+ from argparse import ArgumentParser
6
+ from pathlib import Path
7
+ from subprocess import CalledProcessError, check_output
8
+
9
+
10
+ def report_output(stdout: bytes, label: str) -> list[str]:
11
+ """Print and return something received frm stdout."""
12
+ ret = stdout.decode().strip().split("\n")
13
+ print(f"{label}: {ret}")
14
+ return ret
15
+
16
+
17
+ def get_branch_contents(ref: str) -> list[str]:
18
+ """Get the list of directories in a branch."""
19
+ stdout = check_output(["git", "ls-tree", "-d", "--name-only", ref])
20
+ return report_output(stdout, "Branch contents")
21
+
22
+
23
+ def get_sorted_tags_list() -> list[str]:
24
+ """Get a list of sorted tags in descending order from the repository."""
25
+ stdout = check_output(["git", "tag", "-l", "--sort=-v:refname"])
26
+ return report_output(stdout, "Tags list")
27
+
28
+
29
+ def get_versions(ref: str, add: str | None) -> list[str]:
30
+ """Generate the file containing the list of all GitHub Pages builds."""
31
+ # Get the directories (i.e. builds) from the GitHub Pages branch
32
+ try:
33
+ builds = set(get_branch_contents(ref))
34
+ except CalledProcessError:
35
+ builds = set()
36
+ logging.warning(f"Cannot get {ref} contents")
37
+
38
+ # Add and remove from the list of builds
39
+ if add:
40
+ builds.add(add)
41
+
42
+ # Get a sorted list of tags
43
+ tags = get_sorted_tags_list()
44
+
45
+ # Make the sorted versions list from main branches and tags
46
+ versions: list[str] = []
47
+ for version in ["master", "main"] + tags:
48
+ if version in builds:
49
+ versions.append(version)
50
+ builds.remove(version)
51
+
52
+ # Add in anything that is left to the bottom
53
+ versions += sorted(builds)
54
+ print(f"Sorted versions: {versions}")
55
+ return versions
56
+
57
+
58
+ def write_json(path: Path, repository: str, versions: list[str]):
59
+ """Write the JSON switcher to path."""
60
+ org, repo_name = repository.split("/")
61
+ struct = [
62
+ {"version": version, "url": f"https://{org}.github.io/{repo_name}/{version}/"}
63
+ for version in versions
64
+ ]
65
+ text = json.dumps(struct, indent=2)
66
+ print(f"JSON switcher:\n{text}")
67
+ path.write_text(text, encoding="utf-8")
68
+
69
+
70
+ def main(args=None):
71
+ """Parse args and write switcher."""
72
+ parser = ArgumentParser(
73
+ description="Make a versions.json file from gh-pages directories"
74
+ )
75
+ parser.add_argument(
76
+ "--add",
77
+ help="Add this directory to the list of existing directories",
78
+ )
79
+ parser.add_argument(
80
+ "repository",
81
+ help="The GitHub org and repository name: ORG/REPO",
82
+ )
83
+ parser.add_argument(
84
+ "output",
85
+ type=Path,
86
+ help="Path of write switcher.json to",
87
+ )
88
+ args = parser.parse_args(args)
89
+
90
+ # Write the versions file
91
+ versions = get_versions("origin/gh-pages", args.add)
92
+ write_json(args.output, args.repository, versions)
93
+
94
+
95
+ if __name__ == "__main__":
96
+ main()
@@ -0,0 +1,46 @@
1
+ on:
2
+ workflow_call:
3
+
4
+ jobs:
5
+ build:
6
+ runs-on: "ubuntu-latest"
7
+
8
+ steps:
9
+ - name: Checkout
10
+ uses: actions/checkout@v5
11
+ with:
12
+ # Need this to get version number from last tag
13
+ fetch-depth: 0
14
+ submodules: recursive
15
+
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v7
18
+
19
+ - name: Build sdist and wheel
20
+ run: >
21
+ export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) &&
22
+ uvx --from build pyproject-build
23
+
24
+ - name: Install uv
25
+ uses: astral-sh/setup-uv@v7
26
+
27
+ - name: Build sdist and wheel
28
+ run: >
29
+ export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) &&
30
+ uvx --from build pyproject-build
31
+
32
+ - name: Upload sdist and wheel as artifacts
33
+ uses: actions/upload-artifact@v5
34
+ with:
35
+ name: dist
36
+ path: dist
37
+
38
+ - name: Check for packaging errors
39
+ run: uvx twine check --strict dist/*
40
+
41
+ - name: Install produced wheel
42
+ run: python -m pip install dist/*.whl
43
+
44
+ - name: Test module --version works using the installed wheel
45
+ # If more than one module in src/ replace with module name to test
46
+ run: python -m $(ls --hide='*.egg-info' src | head -1) --version
@@ -0,0 +1,55 @@
1
+ on:
2
+ workflow_call:
3
+
4
+ jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
+
8
+ steps:
9
+ - name: Avoid git conflicts when tag and branch pushed at same time
10
+ if: github.ref_type == 'tag'
11
+ run: sleep 60
12
+
13
+ - name: Checkout
14
+ uses: actions/checkout@v5
15
+ with:
16
+ # Need this to get version number from last tag
17
+ fetch-depth: 0
18
+ submodules: recursive
19
+
20
+ - name: Install system packages
21
+ run: sudo apt-get install graphviz
22
+
23
+ - name: Install python packages
24
+ uses: ./.github/actions/install_requirements
25
+
26
+ - name: Build docs
27
+ run: tox -e docs
28
+
29
+ - name: Remove environment.pickle
30
+ run: rm build/html/.doctrees/environment.pickle
31
+
32
+ - name: Upload built docs artifact
33
+ uses: actions/upload-artifact@v5
34
+ with:
35
+ name: docs
36
+ path: build
37
+
38
+ - name: Sanitize ref name for docs version
39
+ run: echo "DOCS_VERSION=${GITHUB_REF_NAME//[^A-Za-z0-9._-]/_}" >> $GITHUB_ENV
40
+
41
+ - name: Move to versioned directory
42
+ run: mv build/html .github/pages/$DOCS_VERSION
43
+
44
+ - name: Write switcher.json
45
+ run: python .github/pages/make_switcher.py --add $DOCS_VERSION ${{ github.repository }} .github/pages/switcher.json
46
+
47
+ - name: Publish Docs to gh-pages
48
+ if: github.ref_type == 'tag' || github.ref_name == 'main'
49
+ # We pin to the SHA, not the tag, for security reasons.
50
+ # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
51
+ uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
52
+ with:
53
+ github_token: ${{ secrets.GITHUB_TOKEN }}
54
+ publish_dir: .github/pages
55
+ keep_files: true
@@ -0,0 +1,19 @@
1
+ on:
2
+ workflow_call:
3
+
4
+ jobs:
5
+ upload:
6
+ runs-on: ubuntu-latest
7
+ environment: release
8
+
9
+ steps:
10
+ - name: Download dist artifact
11
+ uses: actions/download-artifact@v6
12
+ with:
13
+ name: dist
14
+ path: dist
15
+
16
+ - name: Publish to PyPI using trusted publishing
17
+ uses: pypa/gh-action-pypi-publish@release/v1
18
+ with:
19
+ attestations: false
@@ -0,0 +1,43 @@
1
+ on:
2
+ workflow_call:
3
+
4
+ jobs:
5
+ artifacts:
6
+ runs-on: ubuntu-latest
7
+
8
+ steps:
9
+ - name: Download artifacts
10
+ uses: actions/download-artifact@v6
11
+ with:
12
+ merge-multiple: true
13
+
14
+ - name: Zip up docs
15
+ run: |
16
+ set -vxeuo pipefail
17
+ if [ -d html ]; then
18
+ mv html $GITHUB_REF_NAME
19
+ zip -r docs.zip $GITHUB_REF_NAME
20
+ rm -rf $GITHUB_REF_NAME
21
+ fi
22
+
23
+ - name: Checkout
24
+ uses: actions/checkout@v5
25
+
26
+ - name: Install python packages
27
+ uses: ./.github/actions/install_requirements
28
+
29
+ - name: generate-schema
30
+ run: techui-builder --schema
31
+
32
+ - name: Create GitHub Release
33
+ # We pin to the SHA, not the tag, for security reasons.
34
+ # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
35
+ uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
36
+ with:
37
+ prerelease: ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b') || contains(github.ref_name, 'rc') }}
38
+ files: |
39
+ "*"
40
+ schemas/*.json
41
+ generate_release_notes: true
42
+ env:
43
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,63 @@
1
+ on:
2
+ workflow_call:
3
+ inputs:
4
+ python-version:
5
+ type: string
6
+ description: The version of python to install
7
+ required: true
8
+ runs-on:
9
+ type: string
10
+ description: The runner to run this job on
11
+ required: true
12
+ secrets:
13
+ CODECOV_TOKEN:
14
+ required: true
15
+
16
+ env:
17
+ # https://github.com/pytest-dev/pytest/issues/2042
18
+ PY_IGNORE_IMPORTMISMATCH: "1"
19
+
20
+ jobs:
21
+ run:
22
+ runs-on: ${{ inputs.runs-on }}
23
+
24
+ steps:
25
+ - name: Checkout
26
+ uses: actions/checkout@v5
27
+ with:
28
+ # Need this to get version number from last tag
29
+ fetch-depth: 0
30
+ submodules: recursive
31
+
32
+ - if: inputs.python-version == 'dev'
33
+ name: Install dev versions of python packages
34
+ uses: ./.github/actions/install_requirements
35
+
36
+ - if: inputs.python-version == 'dev'
37
+ name: Write the requirements as an artifact
38
+ run: uv pip freeze --exclude-editable > /tmp/dev-requirements.txt
39
+
40
+ - if: inputs.python-version == 'dev'
41
+ name: Upload dev-requirements.txt
42
+ uses: actions/upload-artifact@v5
43
+ with:
44
+ name: dev-requirements
45
+ path: /tmp/dev-requirements.txt
46
+
47
+ - if: inputs.python-version != 'dev'
48
+ name: Install latest versions of python packages
49
+ uses: ./.github/actions/install_requirements
50
+ with:
51
+ python-version: ${{ inputs.python-version }}
52
+ uv-sync: ""
53
+
54
+ - name: Run tests
55
+ run: tox -e tests
56
+
57
+ - name: Upload coverage to Codecov
58
+ uses: codecov/codecov-action@v5
59
+ with:
60
+ name: ${{ inputs.python-version }}/${{ inputs.runs-on }}
61
+ files: cov.xml
62
+ env:
63
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -0,0 +1,22 @@
1
+ on:
2
+ workflow_call:
3
+ inputs:
4
+ tox:
5
+ type: string
6
+ description: What to run under tox
7
+ required: true
8
+
9
+
10
+ jobs:
11
+ run:
12
+ runs-on: "ubuntu-latest"
13
+
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v5
17
+
18
+ - name: Install python packages
19
+ uses: ./.github/actions/install_requirements
20
+
21
+ - name: Run tox
22
+ run: tox -e ${{ inputs.tox }}
@@ -0,0 +1,46 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ tags:
8
+ - '*'
9
+ pull_request:
10
+
11
+ jobs:
12
+
13
+ lint:
14
+ uses: ./.github/workflows/_tox.yml
15
+ with:
16
+ tox: pre-commit,type-checking
17
+
18
+ test:
19
+ strategy:
20
+ matrix:
21
+ runs-on: ["ubuntu-latest"] # can add macos-latest
22
+ python-version: ["3.12"]
23
+ fail-fast: false
24
+ uses: ./.github/workflows/_test.yml
25
+ with:
26
+ runs-on: ${{ matrix.runs-on }}
27
+ python-version: ${{ matrix.python-version }}
28
+ secrets:
29
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
30
+
31
+ dist:
32
+ uses: ./.github/workflows/_dist.yml
33
+
34
+ pypi:
35
+ needs: [dist, test]
36
+ if: github.ref_type == 'tag'
37
+ uses: ./.github/workflows/_pypi.yml
38
+ permissions:
39
+ id-token: write
40
+
41
+ release:
42
+ needs: [dist, test]
43
+ if: github.ref_type == 'tag'
44
+ uses: ./.github/workflows/_release.yml
45
+ permissions:
46
+ contents: write
@@ -0,0 +1,13 @@
1
+ name: Periodic
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ schedule:
6
+ # Run weekly to check URL links still resolve
7
+ - cron: "0 8 * * WED"
8
+
9
+ jobs:
10
+ linkcheck:
11
+ uses: ./.github/workflows/_tox.yml
12
+ with:
13
+ tox: docs build -- -b linkcheck