pytestlab 0.2.1__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. pytestlab-0.2.4/.github/workflows/build_wheels.yml +61 -0
  2. pytestlab-0.2.4/.github/workflows/draft-pdf.yml +28 -0
  3. {pytestlab-0.2.1 → pytestlab-0.2.4}/.github/workflows/publish_release.yml +19 -18
  4. {pytestlab-0.2.1 → pytestlab-0.2.4}/.github/workflows/test.yml +3 -3
  5. {pytestlab-0.2.1 → pytestlab-0.2.4}/.gitignore +5 -0
  6. pytestlab-0.2.4/.pre-commit-config.yaml +22 -0
  7. pytestlab-0.2.4/CHANGELOG.md +78 -0
  8. {pytestlab-0.2.1 → pytestlab-0.2.4}/CODE_OF_CONDUCT.md +1 -1
  9. {pytestlab-0.2.1 → pytestlab-0.2.4}/CONTRIBUTING.md +5 -5
  10. pytestlab-0.2.4/LICENSE +202 -0
  11. {pytestlab-0.2.1 → pytestlab-0.2.4}/MANIFEST.in +1 -1
  12. pytestlab-0.2.4/PKG-INFO +777 -0
  13. pytestlab-0.2.4/README.md +715 -0
  14. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/404.md +1 -1
  15. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/CODE_OF_CONDUCT.md +1 -1
  16. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/api/backends.md +8 -8
  17. {pytestlab-0.2.1/docs → pytestlab-0.2.4/docs/en}/api/common.md +1 -1
  18. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/api/config.md +1 -1
  19. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/api/errors.md +1 -1
  20. {pytestlab-0.2.1/docs → pytestlab-0.2.4/docs/en}/api/experiments.md +1 -1
  21. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/api/instruments.md +3 -3
  22. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/api/measurements.md +29 -13
  23. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/changelog.md +16 -3
  24. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/contributing.md +2 -2
  25. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/index.md +1 -1
  26. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/installation.md +3 -4
  27. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/js/notebook-enhancements.js +28 -32
  28. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/profiles/creating.md +2 -2
  29. {pytestlab-0.2.1/docs → pytestlab-0.2.4/docs/en}/scripts/README.md +2 -2
  30. pytestlab-0.2.4/docs/en/scripts/index.md +206 -0
  31. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/stylesheets/extra.css +55 -58
  32. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/stylesheets/notebook-enhancements.css +48 -48
  33. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/tutorials/10_minute_tour.ipynb +32 -85
  34. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/tutorials/advanced_measurements.ipynb +2 -2
  35. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/tutorials/compliance.ipynb +5 -4
  36. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/tutorials/custom_validations.ipynb +3 -4
  37. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/tutorials/example.ipynb +141 -97
  38. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/tutorials/profile_creation.ipynb +5 -10
  39. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/tutorials/replay_mode.ipynb +54 -46
  40. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/tutorials/smartbench.ipynb +10 -5
  41. pytestlab-0.2.4/docs/en/user_guide/cli.md +330 -0
  42. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/connecting.md +3 -4
  43. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/errors.md +14 -14
  44. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/getting_started.md +2 -3
  45. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/measurement_session.md +17 -2
  46. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/notebook_styling.md +7 -7
  47. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/replay_mode.md +53 -55
  48. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/simulation.md +1 -1
  49. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/uncertainty.md +2 -2
  50. pytestlab-0.2.4/docs/mkdocs.yml +184 -0
  51. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/404.html +6 -5
  52. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/css/theme.css +38 -34
  53. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/home.html +316 -165
  54. pytestlab-0.2.4/docs/themes/labiium_photon/img/favicon.ico +9 -0
  55. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/js/theme.js +233 -19
  56. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/landing.html +17 -18
  57. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/main.html +441 -140
  58. pytestlab-0.2.4/examples/QUICKSTART.md +60 -0
  59. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/advanced_sweep_strategies.py +39 -43
  60. pytestlab-0.2.4/examples/auto_compliance_demo.py +167 -0
  61. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/bench.yaml +5 -4
  62. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/bench_example.py +22 -17
  63. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/bench_session_integration.ipynb +42 -33
  64. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/bench_session_integration.py +17 -9
  65. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/bench_sweep_integration_example.py +47 -37
  66. pytestlab-0.2.4/examples/cli.md +129 -0
  67. pytestlab-0.2.4/examples/compliance_decorator_example.py +319 -0
  68. pytestlab-0.2.4/examples/database_integration_example.py +205 -0
  69. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/example_database.py +29 -24
  70. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/example_experiment.py +19 -14
  71. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/facade_example.py +50 -51
  72. pytestlab-0.2.4/examples/gui.ipynb +225 -0
  73. pytestlab-0.2.4/examples/measurement_patterns.py +224 -0
  74. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/measurement_session_example.py +12 -12
  75. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/measurement_session_sweep.py +30 -26
  76. pytestlab-0.2.4/examples/measurements/advanced_demo.py +93 -0
  77. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/parallel/bench_parallel.yaml +1 -1
  78. pytestlab-0.2.4/examples/parallel/parallel_sweep_example.py +106 -0
  79. pytestlab-0.2.4/examples/parallel_measurement_demo.py +138 -0
  80. pytestlab-0.2.4/examples/plot_dsx1204g_channel.py +19 -0
  81. pytestlab-0.2.4/examples/plot_experiment.py +15 -0
  82. pytestlab-0.2.4/examples/plot_measurement_result_array.py +19 -0
  83. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/cli_test_measurement.py +21 -12
  84. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/exact_replay_test.py +17 -12
  85. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/example_measurement.py +43 -32
  86. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/real_bench.yaml +2 -2
  87. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/replay_system_demo.py +17 -20
  88. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/replay_system_final_demo.sh +11 -11
  89. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/replay_workflow_example.sh +2 -2
  90. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/test_real_replay.py +77 -47
  91. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/test_replay.py +28 -12
  92. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/scripts/save_results.py +12 -8
  93. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/scripts/setup_environment.py +6 -4
  94. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/session_bench.yaml +3 -3
  95. pytestlab-0.2.4/examples/simple_bench.py +86 -0
  96. pytestlab-0.2.4/examples/simple_bench.yaml +37 -0
  97. pytestlab-0.2.4/examples/simple_bench_test.py +103 -0
  98. pytestlab-0.2.4/examples/simple_database.py +102 -0
  99. pytestlab-0.2.4/examples/simple_hello_world.py +59 -0
  100. pytestlab-0.2.4/examples/simple_instrument.py +139 -0
  101. pytestlab-0.2.4/examples/simple_plotting.py +90 -0
  102. pytestlab-0.2.4/examples/simple_sweep.py +113 -0
  103. pytestlab-0.2.4/examples/smarbench.yaml +145 -0
  104. pytestlab-0.2.4/examples/sweep_decorator_example.py +244 -0
  105. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/sweep_integration_example.py +74 -95
  106. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/test.py +3 -1
  107. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/test_bench_system.py +68 -31
  108. pytestlab-0.2.4/examples/test_direct_instruments.py +106 -0
  109. pytestlab-0.2.4/examples/test_smarbench.py +327 -0
  110. pytestlab-0.2.4/examples_ci/__init__.py +13 -0
  111. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples_ci/conftest.py +10 -7
  112. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples_ci/simulated_psu_dmm_sweep.py +17 -10
  113. pytestlab-0.2.4/paper/joss/paper.bib +206 -0
  114. pytestlab-0.2.4/paper/joss/paper.md +161 -0
  115. pytestlab-0.2.4/prmpt.yaml +159 -0
  116. pytestlab-0.2.4/production_server.log +87 -0
  117. {pytestlab-0.2.1 → pytestlab-0.2.4}/pyproject.toml +24 -21
  118. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytest.ini +0 -2
  119. pytestlab-0.2.4/pytestlab/__init__.py +85 -0
  120. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/_log.py +18 -12
  121. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/analysis/__init__.py +1 -1
  122. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/analysis/fft.py +33 -32
  123. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/analysis/fr_analysis.py +1 -1
  124. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/bench.py +119 -95
  125. pytestlab-0.2.4/pytestlab/cli.py +164 -0
  126. pytestlab-0.2.4/pytestlab/cli_typer.py +1432 -0
  127. pytestlab-0.2.4/pytestlab/common/__init__.py +11 -0
  128. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/common/enums.py +19 -5
  129. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/common/health.py +11 -8
  130. pytestlab-0.2.4/pytestlab/compliance/__init__.py +73 -0
  131. pytestlab-0.2.4/pytestlab/compliance/auto_config.py +281 -0
  132. pytestlab-0.2.4/pytestlab/compliance/decorators.py +594 -0
  133. pytestlab-0.2.4/pytestlab/compliance/defaults.py +381 -0
  134. pytestlab-0.2.4/pytestlab/compliance/interfaces.py +334 -0
  135. pytestlab-0.2.4/pytestlab/compliance/paths.py +65 -0
  136. pytestlab-0.2.4/pytestlab/compliance/session.py +487 -0
  137. pytestlab-0.2.4/pytestlab/compliance/verification.py +160 -0
  138. pytestlab-0.2.4/pytestlab/config/__init__.py +74 -0
  139. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/config/_mixins.py +25 -8
  140. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/config/accuracy.py +37 -25
  141. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/config/base.py +14 -3
  142. pytestlab-0.2.4/pytestlab/config/bench_config.py +98 -0
  143. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/config/bench_loader.py +13 -7
  144. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/config/config.py +3 -5
  145. pytestlab-0.2.4/pytestlab/config/dc_active_load_config.py +210 -0
  146. pytestlab-0.2.4/pytestlab/config/instrument_config.py +120 -0
  147. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/config/loader.py +42 -60
  148. pytestlab-0.2.4/pytestlab/config/multimeter_config.py +271 -0
  149. pytestlab-0.2.4/pytestlab/config/oscilloscope_config.py +156 -0
  150. pytestlab-0.2.4/pytestlab/config/power_meter_config.py +24 -0
  151. pytestlab-0.2.4/pytestlab/config/power_supply_config.py +174 -0
  152. pytestlab-0.2.4/pytestlab/config/schema_validator.py +312 -0
  153. pytestlab-0.2.4/pytestlab/config/scpi_schema.py +89 -0
  154. pytestlab-0.2.4/pytestlab/config/scpi_validator.py +688 -0
  155. pytestlab-0.2.4/pytestlab/config/spectrum_analyzer_config.py +23 -0
  156. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/config/virtual_instrument_config.py +6 -2
  157. pytestlab-0.2.4/pytestlab/config/vna_config.py +24 -0
  158. pytestlab-0.2.4/pytestlab/config/waveform_generator_config.py +231 -0
  159. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/errors.py +18 -6
  160. pytestlab-0.2.4/pytestlab/experiments/__init__.py +53 -0
  161. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/experiments/database.py +131 -98
  162. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/experiments/experiments.py +79 -33
  163. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/experiments/results.py +250 -113
  164. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/experiments/sweep.py +256 -133
  165. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/gui/__init__.py +8 -5
  166. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/gui/builder.py +24 -24
  167. pytestlab-0.2.1/pytestlab/gui/async_utils.py → pytestlab-0.2.4/pytestlab/gui/threading_utils.py +12 -6
  168. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/AutoInstrument.py +284 -163
  169. pytestlab-0.2.4/pytestlab/instruments/DCActiveLoad.py +470 -0
  170. pytestlab-0.2.4/pytestlab/instruments/Multimeter.py +584 -0
  171. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/Oscilloscope.py +682 -371
  172. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/PowerMeter.py +27 -10
  173. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/PowerSupply.py +168 -92
  174. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/SpectrumAnalyser.py +33 -17
  175. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/VectorNetworkAnalyser.py +36 -26
  176. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/VirtualInstrument.py +7 -4
  177. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/WaveformGenerator.py +755 -349
  178. pytestlab-0.2.4/pytestlab/instruments/__init__.py +50 -0
  179. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/backends/__init__.py +8 -3
  180. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/backends/lamb.py +46 -42
  181. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/backends/recording_backend.py +43 -31
  182. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/backends/replay_backend.py +19 -20
  183. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/backends/session_recording_backend.py +32 -37
  184. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/backends/sim_backend.py +169 -88
  185. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/backends/visa_backend.py +60 -30
  186. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/instrument.py +414 -164
  187. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/instruments/scpi_engine.py +180 -77
  188. pytestlab-0.2.4/pytestlab/measurements/__init__.py +30 -0
  189. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/measurements/session.py +237 -60
  190. pytestlab-0.2.4/pytestlab/measurements/steps.py +160 -0
  191. pytestlab-0.2.4/pytestlab/plotting/__init__.py +43 -0
  192. pytestlab-0.2.4/pytestlab/plotting/simple.py +257 -0
  193. pytestlab-0.2.4/pytestlab/profiles/__init__.py +0 -0
  194. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/34460A.yaml +1 -1
  195. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/DSOX1202G.yaml +36 -38
  196. pytestlab-0.2.4/pytestlab/profiles/keysight/DSOX1204G.yaml +375 -0
  197. pytestlab-0.2.1/pytestlab/profiles/keysight/DSOX1204G.yaml → pytestlab-0.2.4/pytestlab/profiles/keysight/DSOX3054G.yaml +11 -25
  198. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/E5071C_VNA.yaml +1 -1
  199. pytestlab-0.2.4/pytestlab/profiles/keysight/EDU33212A.yaml +197 -0
  200. pytestlab-0.2.4/pytestlab/profiles/keysight/EDU34450A.yaml +281 -0
  201. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/EDU36311A.yaml +1 -1
  202. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/EDU36311A_recorded.yaml +1 -1
  203. pytestlab-0.2.4/pytestlab/profiles/keysight/EL33133A.yaml +249 -0
  204. pytestlab-0.2.4/pytestlab/profiles/keysight/MSOX2024A.yaml +118 -0
  205. pytestlab-0.2.4/pytestlab/profiles/keysight/MXR404A.yaml +104 -0
  206. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/N9000A_SA.yaml +2 -2
  207. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/U2000A_PM.yaml +1 -1
  208. pytestlab-0.2.4/pytestlab/profiles/pytestlab/binary_wave_data.bin +1 -0
  209. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/rohdeschwarz/NGE102B.yaml +1 -1
  210. pytestlab-0.2.4/pytestlab/verification/__init__.py +17 -0
  211. pytestlab-0.2.4/pytestlab/verification/profile_verify.py +987 -0
  212. pytestlab-0.2.4/scripts/benchmark_cli.py +148 -0
  213. {pytestlab-0.2.1 → pytestlab-0.2.4}/scripts/generate_profile_gallery.py +17 -12
  214. pytestlab-0.2.4/scripts/smoke_cli.py +77 -0
  215. pytestlab-0.2.4/test_schemas/instrument_config.json +543 -0
  216. pytestlab-0.2.4/test_schemas/oscilloscope.json +947 -0
  217. pytestlab-0.2.4/test_schemas/scpi_command_spec.json +269 -0
  218. pytestlab-0.2.4/test_schemas/scpi_commands_queries.json +309 -0
  219. pytestlab-0.2.4/test_schemas/scpi_section.json +400 -0
  220. pytestlab-0.2.4/tests/README.md +114 -0
  221. pytestlab-0.2.4/tests/__init__.py +14 -0
  222. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/conftest.py +41 -29
  223. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/experiments/test_database.py +20 -8
  224. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/experiments/test_experiment.py +8 -4
  225. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/experiments/test_result.py +32 -16
  226. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/experiments/test_script.py +1 -0
  227. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/experiments/test_simulation.py +5 -3
  228. pytestlab-0.2.4/tests/instruments/__init__.py +14 -0
  229. pytestlab-0.2.4/tests/instruments/sim/__init__.py +13 -0
  230. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/sim/conftest.py +10 -7
  231. pytestlab-0.2.4/tests/instruments/sim/keysight/DSOX1204G.yaml +608 -0
  232. pytestlab-0.2.4/tests/instruments/sim/test_oscilloscope_sim.py +268 -0
  233. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/test_awg.py +34 -57
  234. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/test_bench.py +60 -27
  235. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/test_bench_integration.py +10 -7
  236. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/test_dc_load.py +84 -77
  237. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/test_multimeter.py +60 -4
  238. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/test_oscilloscope.py +32 -28
  239. pytestlab-0.2.4/tests/instruments/test_oscilloscope_plotting.py +44 -0
  240. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/test_psu.py +23 -10
  241. pytestlab-0.2.4/tests/plotting/test_plotting.py +91 -0
  242. pytestlab-0.2.4/tests/test_auto_compliance.py +318 -0
  243. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_autoinstrument_backend_override.py +126 -160
  244. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_cli.py +5 -10
  245. pytestlab-0.2.4/tests/test_cli_bootstrap.py +147 -0
  246. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_cli_replay.py +177 -150
  247. pytestlab-0.2.4/tests/test_cli_verify_profile.py +118 -0
  248. pytestlab-0.2.4/tests/test_compliance.py +252 -0
  249. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_logging.py +12 -8
  250. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_measurement_database.py +5 -2
  251. pytestlab-0.2.4/tests/test_measurement_session.py +89 -0
  252. pytestlab-0.2.4/tests/test_profile_registry.py +22 -0
  253. pytestlab-0.2.4/tests/test_profile_verify.py +466 -0
  254. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_recording_backend_psu.py +5 -5
  255. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_replay_backend.py +91 -85
  256. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_safety.py +18 -21
  257. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_session_recording_backend.py +153 -127
  258. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_simulation_e2e.py +35 -23
  259. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_uncertainty.py +30 -22
  260. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/test_warnings.py +5 -11
  261. pytestlab-0.2.4/tests/unit/test_feature_mapping_validation.py +72 -0
  262. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/unit/test_instrument_error_handling.py +64 -39
  263. pytestlab-0.2.4/tests/unit/test_instrument_helpers.py +175 -0
  264. pytestlab-0.2.4/tests/unit/test_multimeter_uncertainty.py +191 -0
  265. pytestlab-0.2.4/tests/unit/test_scpi_engine_introspection.py +72 -0
  266. pytestlab-0.2.4/tests/unit/test_scpi_schema_generation.py +18 -0
  267. pytestlab-0.2.4/uv.lock +2722 -0
  268. pytestlab-0.2.1/.github/workflows/build_wheels.yml +0 -77
  269. pytestlab-0.2.1/.pre-commit-config.yaml +0 -21
  270. pytestlab-0.2.1/CHANGELOG.md +0 -62
  271. pytestlab-0.2.1/PKG-INFO +0 -317
  272. pytestlab-0.2.1/README.md +0 -261
  273. pytestlab-0.2.1/curly.yaml +0 -147
  274. pytestlab-0.2.1/docs/README.md +0 -191
  275. pytestlab-0.2.1/docs/api/backends.md +0 -67
  276. pytestlab-0.2.1/docs/api/config.md +0 -96
  277. pytestlab-0.2.1/docs/api/errors.md +0 -58
  278. pytestlab-0.2.1/docs/api/instruments.md +0 -74
  279. pytestlab-0.2.1/docs/api/measurements.md +0 -74
  280. pytestlab-0.2.1/docs/build.sh +0 -40
  281. pytestlab-0.2.1/docs/en/api/common.md +0 -23
  282. pytestlab-0.2.1/docs/en/api/experiments.md +0 -24
  283. pytestlab-0.2.1/docs/en/user_guide/async_vs_sync.md +0 -319
  284. pytestlab-0.2.1/docs/en/user_guide/cli.md +0 -150
  285. pytestlab-0.2.1/docs/mkdocs.yml +0 -177
  286. pytestlab-0.2.1/docs/scripts/generate_notebook.py +0 -560
  287. pytestlab-0.2.1/docs/scripts/normalize_notebooks.py +0 -399
  288. pytestlab-0.2.1/docs/scripts/validate_styling.py +0 -518
  289. pytestlab-0.2.1/examples/database_integration_example.py +0 -245
  290. pytestlab-0.2.1/examples/gui.ipynb +0 -192
  291. pytestlab-0.2.1/examples/measurements/advanced_demo.py +0 -54
  292. pytestlab-0.2.1/examples/migration_example_after.py +0 -343
  293. pytestlab-0.2.1/examples/migration_example_before.py +0 -284
  294. pytestlab-0.2.1/examples/parallel/parallel_sweep_example.py +0 -124
  295. pytestlab-0.2.1/examples/parallel_measurement_demo.py +0 -244
  296. pytestlab-0.2.1/pytestlab/__init__.py +0 -69
  297. pytestlab-0.2.1/pytestlab/cli.py +0 -916
  298. pytestlab-0.2.1/pytestlab/common/__init__.py +0 -5
  299. pytestlab-0.2.1/pytestlab/compliance/__init__.py +0 -19
  300. pytestlab-0.2.1/pytestlab/compliance/audit.py +0 -88
  301. pytestlab-0.2.1/pytestlab/compliance/patch.py +0 -120
  302. pytestlab-0.2.1/pytestlab/compliance/signature.py +0 -146
  303. pytestlab-0.2.1/pytestlab/compliance/tsa.py +0 -51
  304. pytestlab-0.2.1/pytestlab/config/__init__.py +0 -16
  305. pytestlab-0.2.1/pytestlab/config/bench_config.py +0 -80
  306. pytestlab-0.2.1/pytestlab/config/dc_active_load_config.py +0 -98
  307. pytestlab-0.2.1/pytestlab/config/instrument_config.py +0 -31
  308. pytestlab-0.2.1/pytestlab/config/multimeter_config.py +0 -145
  309. pytestlab-0.2.1/pytestlab/config/oscilloscope_config.py +0 -63
  310. pytestlab-0.2.1/pytestlab/config/power_meter_config.py +0 -14
  311. pytestlab-0.2.1/pytestlab/config/power_supply_config.py +0 -78
  312. pytestlab-0.2.1/pytestlab/config/spectrum_analyzer_config.py +0 -18
  313. pytestlab-0.2.1/pytestlab/config/vna_config.py +0 -16
  314. pytestlab-0.2.1/pytestlab/config/waveform_generator_config.py +0 -38
  315. pytestlab-0.2.1/pytestlab/experiments/__init__.py +0 -6
  316. pytestlab-0.2.1/pytestlab/instruments/DCActiveLoad.py +0 -361
  317. pytestlab-0.2.1/pytestlab/instruments/Multimeter.py +0 -309
  318. pytestlab-0.2.1/pytestlab/instruments/__init__.py +0 -8
  319. pytestlab-0.2.1/pytestlab/instruments/backends/async_visa_backend.py +0 -167
  320. pytestlab-0.2.1/pytestlab/measurements/__init__.py +0 -8
  321. pytestlab-0.2.1/pytestlab/profiles/keysight/DSOX3054G.yaml +0 -122
  322. pytestlab-0.2.1/pytestlab/profiles/keysight/E36313A.yaml +0 -37
  323. pytestlab-0.2.1/pytestlab/profiles/keysight/EDU33212A.yaml +0 -53
  324. pytestlab-0.2.1/pytestlab/profiles/keysight/EDU34450A.yaml +0 -176
  325. pytestlab-0.2.1/pytestlab/profiles/keysight/EL33133A.yaml +0 -126
  326. pytestlab-0.2.1/pytestlab/profiles/keysight/MSOX2024A.yaml +0 -122
  327. pytestlab-0.2.1/pytestlab/profiles/keysight/MXR404A.yaml +0 -102
  328. pytestlab-0.2.1/pytestlab/profiles/pytestlab/binary_wave_data.bin +0 -1
  329. pytestlab-0.2.1/pytestlab/schemas/awg.json +0 -166
  330. pytestlab-0.2.1/pytestlab/schemas/dc_active_load.json +0 -511
  331. pytestlab-0.2.1/pytestlab/schemas/dmm.json +0 -120
  332. pytestlab-0.2.1/pytestlab/schemas/oscilloscope.json +0 -316
  333. pytestlab-0.2.1/pytestlab/schemas/psu.json +0 -86
  334. pytestlab-0.2.1/scripts/migrate_async_to_sync.py +0 -326
  335. pytestlab-0.2.1/tests/README.md +0 -217
  336. pytestlab-0.2.1/tests/instruments/sim/keysight/DSOX1204G.yaml +0 -303
  337. pytestlab-0.2.1/tests/instruments/sim/test_oscilloscope_sim.py +0 -85
  338. pytestlab-0.2.1/tests/test_compliance.py +0 -254
  339. pytestlab-0.2.1/tests/test_measurement_session.py +0 -45
  340. pytestlab-0.2.1/tests/unit/test_instrument_helpers.py +0 -151
  341. {pytestlab-0.2.1/docs/themes/labiium_photon → pytestlab-0.2.4/docs/en}/img/favicon.ico +0 -0
  342. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/profiles/gallery.md +0 -0
  343. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/en/user_guide/bench_descriptors.md +0 -0
  344. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/img/pytestlab_logo.png +0 -0
  345. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/img/pytestlab_logo.svg +0 -0
  346. {pytestlab-0.2.1 → pytestlab-0.2.4}/docs/themes/labiium_photon/mkdocs_theme.yml +0 -0
  347. /pytestlab-0.2.1/pytestlab/profiles/__init__.py → /pytestlab-0.2.4/examples/bench.py +0 -0
  348. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/logs/experiment.log +0 -0
  349. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/example_bench.yaml +0 -0
  350. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/real_instrument_session.yaml +0 -0
  351. {pytestlab-0.2.1 → pytestlab-0.2.4}/examples/replay_mode/recorded_session.yaml +0 -0
  352. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/34470A.yaml +0 -0
  353. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/keysight/HD304MSO.yaml +0 -0
  354. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab/profiles/pytestlab/virtual_instrument.yaml +0 -0
  355. {pytestlab-0.2.1 → pytestlab-0.2.4}/pytestlab_logo.png +0 -0
  356. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/experiments/recorded_psu_sim.yaml +0 -0
  357. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/acquisition_test_results/acq_mode_test_real_time.csv +0 -0
  358. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/acquisition_test_results/acq_mode_test_segmented_segment_1.csv +0 -0
  359. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/acquisition_test_results/acq_mode_test_segmented_segment_2.csv +0 -0
  360. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/acquisition_test_results/acq_type_test_high_res.csv +0 -0
  361. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/acquisition_test_results/acq_type_test_normal.csv +0 -0
  362. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/instruments/acquisition_test_results/acq_type_test_peak.csv +0 -0
  363. {pytestlab-0.2.1 → pytestlab-0.2.4}/tests/smoke/test_profile_loading.py +0 -0
@@ -0,0 +1,61 @@
1
+ name: Build Wheels
2
+
3
+ on:
4
+ push:
5
+ branches: [master]
6
+ tags: ["v*"]
7
+ pull_request:
8
+ branches: [master]
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ build_wheels:
13
+ name: Build wheels on ${{ matrix.os }}
14
+ runs-on: ${{ matrix.os }}
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ os: [ubuntu-latest, windows-latest, macos-latest]
19
+
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+
23
+ - name: Set up Python
24
+ uses: actions/setup-python@v5
25
+ with:
26
+ python-version: "3.x"
27
+
28
+ - name: Install build
29
+ run: python -m pip install build
30
+
31
+ - name: Build wheel
32
+ run: python -m build --wheel
33
+
34
+ - name: Upload wheels
35
+ uses: actions/upload-artifact@v4
36
+ with:
37
+ name: wheels-${{ matrix.os }}
38
+ path: dist/*.whl
39
+
40
+ build_sdist:
41
+ name: Build source distribution
42
+ runs-on: ubuntu-latest
43
+ steps:
44
+ - uses: actions/checkout@v4
45
+
46
+ - name: Set up Python
47
+ uses: actions/setup-python@v5
48
+ with:
49
+ python-version: "3.x"
50
+
51
+ - name: Install build
52
+ run: python -m pip install build
53
+
54
+ - name: Build sdist
55
+ run: python -m build --sdist
56
+
57
+ - name: Upload sdist
58
+ uses: actions/upload-artifact@v4
59
+ with:
60
+ name: sdist
61
+ path: dist/*.tar.gz
@@ -0,0 +1,28 @@
1
+ name: Draft PDF
2
+ on:
3
+ push:
4
+ paths:
5
+ - 'paper/**'
6
+ - '.github/workflows/draft-pdf.yml'
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ paper:
11
+ runs-on: ubuntu-latest
12
+ name: Paper Draft
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
+ - name: Build draft PDF
17
+ uses: openjournals/openjournals-draft-action@master
18
+ with:
19
+ journal: joss
20
+ # This should be the path to the paper within your repo.
21
+ paper-path: paper/joss/paper.md
22
+ - name: Upload
23
+ uses: actions/upload-artifact@v4
24
+ with:
25
+ name: paper
26
+ # This is the output path where Pandoc will write the compiled PDF.
27
+ # Note, this should be the same directory as the input paper.md
28
+ path: paper/joss/paper.pdf
@@ -4,6 +4,7 @@ on:
4
4
  push:
5
5
  tags:
6
6
  - "v*.*.*"
7
+ workflow_dispatch:
7
8
 
8
9
  jobs:
9
10
  build:
@@ -13,7 +14,7 @@ jobs:
13
14
  - uses: actions/checkout@v4
14
15
 
15
16
  - name: Set up Python
16
- uses: actions/setup-python@v4
17
+ uses: actions/setup-python@v5
17
18
  with:
18
19
  python-version: "3.x"
19
20
 
@@ -55,12 +56,12 @@ jobs:
55
56
 
56
57
  github-release:
57
58
  name: Create GitHub Release
59
+ if: startsWith(github.ref, 'refs/tags/')
58
60
  needs:
59
61
  - publish-to-pypi
60
62
  runs-on: ubuntu-latest
61
63
  permissions:
62
64
  contents: write
63
- id-token: write
64
65
 
65
66
  steps:
66
67
  - name: Download all build artifacts
@@ -69,26 +70,26 @@ jobs:
69
70
  name: python-package-distributions
70
71
  path: dist/
71
72
 
72
- - name: Sign the dists with Sigstore
73
- uses: sigstore/gh-action-sigstore-python@v2.1.1
74
- with:
75
- inputs: >-
76
- ./dist/*.tar.gz
77
- ./dist/*.whl
73
+ - name: Extract version from tag
74
+ id: version
75
+ run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
78
76
 
79
77
  - name: Create GitHub Release
80
78
  env:
81
79
  GITHUB_TOKEN: ${{ github.token }}
82
- run: >-
83
- gh release create
84
- '${{ github.ref_name }}'
85
- --repo '${{ github.repository }}'
86
- --notes ""
80
+ run: |
81
+ gh release create \
82
+ '${{ github.ref_name }}' \
83
+ --repo '${{ github.repository }}' \
84
+ --title "Release ${{ steps.version.outputs.VERSION }}" \
85
+ --notes "Release ${{ steps.version.outputs.VERSION }}" \
86
+ --generate-notes
87
87
 
88
- - name: Upload artifact signatures to GitHub Release
88
+ - name: Upload artifacts to GitHub Release
89
89
  env:
90
90
  GITHUB_TOKEN: ${{ github.token }}
91
- run: >-
92
- gh release upload
93
- '${{ github.ref_name }}' dist/**
94
- --repo '${{ github.repository }}'
91
+ run: |
92
+ gh release upload \
93
+ '${{ github.ref_name }}' \
94
+ dist/* \
95
+ --repo '${{ github.repository }}'
@@ -11,13 +11,13 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- python-version: ["3.11", "3.12", "3.13"]
14
+ python-version: ["3.11", "3.12", "3.13", "3.14"]
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v4
18
18
 
19
19
  - name: Set up Python ${{ matrix.python-version }}
20
- uses: actions/setup-python@v4
20
+ uses: actions/setup-python@v5
21
21
  with:
22
22
  python-version: ${{ matrix.python-version }}
23
23
 
@@ -31,7 +31,7 @@ jobs:
31
31
  pytest tests/ --cov=pytestlab --cov-report=xml
32
32
 
33
33
  - name: Upload coverage reports
34
- uses: codecov/codecov-action@v3
34
+ uses: codecov/codecov-action@v4
35
35
  with:
36
36
  file: ./coverage.xml
37
37
  fail_ci_if_error: false
@@ -8,6 +8,7 @@ pytestlab.json
8
8
  .env
9
9
  *.out
10
10
  cache
11
+ .venv
11
12
 
12
13
  # Coverage reports
13
14
  htmlcov/
@@ -22,3 +23,7 @@ demo_db.db
22
23
  site
23
24
 
24
25
  node_modules
26
+ schemas
27
+ .mypy_cache
28
+ .ropeproject
29
+ .ruff_cache
@@ -0,0 +1,22 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v4.6.0
4
+ hooks:
5
+ - id: check-yaml
6
+ - id: end-of-file-fixer
7
+ - id: trailing-whitespace
8
+ - id: check-added-large-files
9
+ - repo: https://github.com/astral-sh/ruff-pre-commit
10
+ rev: v0.4.8
11
+ hooks:
12
+ - id: ruff
13
+ args: [--fix, --exit-non-zero-on-fix]
14
+ - id: ruff-format
15
+ - repo: local
16
+ hooks:
17
+ - id: ty
18
+ name: ty
19
+ entry: uvx ty check
20
+ language: system
21
+ pass_filenames: false
22
+ stages: [pre-commit]
@@ -0,0 +1,78 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ The format follows Keep a Changelog (https://keepachangelog.com/en/1.0.0/)
6
+ and the project adheres to Semantic Versioning (https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [v0.2.4] - 2026-05-12
11
+ ### Added
12
+ - Added `ptl` as the preferred short CLI entry point while keeping `pytestlab` as a compatibility alias.
13
+ - Added instrument profile verification utilities and CLI coverage for schema, connection, identity, SCPI, and safety-oriented probe checks.
14
+ - Added profile registry tests to lock built-in device type discovery.
15
+ - Added CLI smoke and benchmark scripts for startup and common command paths.
16
+
17
+ ### Changed
18
+ - Split the heavy Typer CLI implementation into a lazy-loaded module so common CLI commands start faster.
19
+ - Updated documentation, examples, and scripts to use `ptl` by default.
20
+ - Lazy-loaded selected package exports in config, experiment, and instrument modules to reduce import-time overhead.
21
+ - Cleaned examples, compliance modules, and tests to pass the current Ruff and ty gates.
22
+
23
+ ### Fixed
24
+ - Fixed CLI bootstrap dispatch so option-bearing commands such as `ptl profile show --help`, `ptl bench validate --help`, and `ptl profile list --profile-dir ...` fall through to Typer instead of being intercepted by fast paths.
25
+ - Fixed compliance typing issues around generic callables and configuration dictionaries.
26
+ - Removed the tracked `.DS_Store` artifact.
27
+
28
+ ## [v0.2.3] - 2025-10-05
29
+ ### Added
30
+ - Initial SCPI engine integration for instrument control.
31
+ - Comprehensive plotting utilities and examples.
32
+ - CLI enhancements for a better command-line experience.
33
+
34
+ ### Changed
35
+ - Multimeter module overhaul with improved structure and behavior.
36
+ - Documentation site updates (MkDocs configuration and content).
37
+ - Type-checking and lint configuration refined (mypy and ruff) with project-wide cleanups.
38
+ - Pre-commit and CI adjustments to improve developer workflow and reliability.
39
+
40
+ ### Fixed
41
+ - Type checking issues addressed across modules (targeted mypy fixes and cleaned ignores).
42
+ - Lint violations resolved with ruff adjustments.
43
+ - Release workflow corrections.
44
+
45
+ ### Removed
46
+ - Full removal of legacy async code paths.
47
+
48
+ ## [v0.2.1] - 2025-08-06
49
+ ### Added
50
+ - Measurement sweeps and example workflows.
51
+ - Simulation v2 promoted and examples added.
52
+ - New instrument support and profiles (including MSOX2024A; PSU integration via SCPI).
53
+ - GUI and documentation site improvements; language support for docs/examples.
54
+
55
+ ### Changed
56
+ - Significant test stabilization with “all tests passing” milestone and follow-up fixes.
57
+ - Documentation and notebooks improved; site build updated.
58
+ - Initial reduction/removal of legacy async components.
59
+
60
+ ### Fixed
61
+ - Documentation site mobile menu behavior.
62
+ - CI workflows and packaging adjustments.
63
+ - Invalid or flaky tests removed/reworked.
64
+
65
+ ## [0.1.3] - 2025-02-19
66
+ ### Added
67
+ - DC Active Load instrument initial support and configuration scaffolding.
68
+
69
+ ### Fixed
70
+ - Early integration fixes and stability improvements around DC Load support.
71
+
72
+ ---
73
+
74
+ [Unreleased]: https://github.com/labiium/pytestlab/compare/v0.2.4...HEAD
75
+ [v0.2.4]: https://github.com/labiium/pytestlab/compare/v0.2.3...v0.2.4
76
+ [v0.2.3]: https://github.com/labiium/pytestlab/compare/v0.2.1...v0.2.3
77
+ [v0.2.1]: https://github.com/labiium/pytestlab/compare/13b5439...v0.2.1
78
+ [0.1.3]: https://github.com/labiium/pytestlab/commit/13b5439
@@ -119,4 +119,4 @@ version 2.1, available at
119
119
  [https://www.contributor-covenant.org/version/2/1/code_of_conduct.md][v2.1].
120
120
 
121
121
  [homepage]: https://www.contributor-covenant.org
122
- [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.md
122
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.md
@@ -6,12 +6,12 @@ This document provides guidelines for contributing to PyTestLab. Please read it
6
6
 
7
7
  ## Code of Conduct
8
8
 
9
- This project and everyone participating in it is governed by the [PyTestLab Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to `pytestlab-conduct@example.com`.
9
+ This project and everyone participating in it is governed by the [PyTestLab Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to `support@pytestlab.org`.
10
10
 
11
11
  ## Getting Started
12
12
 
13
13
  1. **Fork the repository** on GitHub.
14
- 2. **Clone your fork** locally: `git clone https://github.com/YOUR_USERNAME/pytestlab.git`
14
+ 2. **Clone your fork** locally: `git clone https://github.com/labiium/pytestlab.git`
15
15
  3. **Set up the development environment:**
16
16
  * It's recommended to use a virtual environment:
17
17
  ```bash
@@ -20,7 +20,7 @@ This project and everyone participating in it is governed by the [PyTestLab Code
20
20
  ```
21
21
  * Install dependencies, including development tools:
22
22
  ```bash
23
- pip install -e .[dev,full]
23
+ pip install -e .[dev,full]
24
24
  ```
25
25
  * Install pre-commit hooks (this will run linters/formatters before each commit):
26
26
  ```bash
@@ -74,7 +74,7 @@ Now, every time you run `git commit`, the pre-commit hooks will run and check yo
74
74
  5. **Ensure pre-commit checks pass.** If they make changes, `git add` those files and re-commit.
75
75
  6. **Commit your changes** using conventional commit messages (`cz c` or `git cz commit`).
76
76
  7. **Push your branch** to your fork: `git push origin name-of-your-feature`
77
- 8. **Open a Pull Request (PR)** to the `main` branch of the official PyTestLab repository.
77
+ 8. **Open a Pull Request (PR)** to the `master` branch of the official PyTestLab repository.
78
78
  * Provide a clear title and description for your PR.
79
79
  * Link to any relevant issues.
80
80
 
@@ -103,4 +103,4 @@ Now, every time you run `git commit`, the pre-commit hooks will run and check yo
103
103
 
104
104
  ## Roadmap
105
105
 
106
- * A high-level roadmap may be available in `ROADMAP.md` or in the project documentation. (This can be a placeholder for now).
106
+ * A high-level roadmap may be available in `ROADMAP.md` or in the project documentation. (This can be a placeholder for now).
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2023 Emmanuel Olowe
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -1,3 +1,3 @@
1
1
  recursive-include pytestlab/profiles *
2
2
  recursive-include pytestlab/experiments *
3
- recursive-include pytestlab/instruments *
3
+ recursive-include pytestlab/instruments *