lima2.client 4.2.0__tar.gz → 4.2.1__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 (147) hide show
  1. {lima2_client-4.2.0 → lima2_client-4.2.1}/.gitlab-ci.yml +1 -2
  2. {lima2_client-4.2.0/src/lima2_client.egg-info → lima2_client-4.2.1}/PKG-INFO +1 -1
  3. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/utils.py +1 -1
  4. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/main.py +0 -11
  5. {lima2_client-4.2.0 → lima2_client-4.2.1/src/lima2_client.egg-info}/PKG-INFO +1 -1
  6. {lima2_client-4.2.0 → lima2_client-4.2.1}/.gitignore +0 -0
  7. {lima2_client-4.2.0 → lima2_client-4.2.1}/LICENSE +0 -0
  8. {lima2_client-4.2.0 → lima2_client-4.2.1}/README.md +0 -0
  9. {lima2_client-4.2.0 → lima2_client-4.2.1}/conda/recipe.yaml +0 -0
  10. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/assets/lima2-components-and-repos.svg +0 -0
  11. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/assets/lima2-conductor-communication-model.svg +0 -0
  12. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/assets/lima2-conductor-modules.svg +0 -0
  13. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/assets/lima2-conductor-monitor-webpage.png +0 -0
  14. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/assets/logo-transparent-crop.png +0 -0
  15. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/concepts.md +0 -0
  16. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/contact.md +0 -0
  17. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/dev/conductor_client.md +0 -0
  18. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/dev/conductor_design.md +0 -0
  19. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/dev/conductor_requirements.md +0 -0
  20. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/dev/index.md +0 -0
  21. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/features.md +0 -0
  22. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/getting_started.md +0 -0
  23. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/index.md +0 -0
  24. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/license.md +0 -0
  25. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/monitor.md +0 -0
  26. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/reference/acquisition.md +0 -0
  27. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/reference/detector.md +0 -0
  28. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/reference/exceptions.md +0 -0
  29. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/reference/index.md +0 -0
  30. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/reference/pipeline.md +0 -0
  31. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/reference/services.md +0 -0
  32. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/reference/session.md +0 -0
  33. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/release_notes.md +0 -0
  34. {lima2_client-4.2.0 → lima2_client-4.2.1}/docs/shell.md +0 -0
  35. {lima2_client-4.2.0 → lima2_client-4.2.1}/flake8.ini +0 -0
  36. {lima2_client-4.2.0 → lima2_client-4.2.1}/mkdocs.yml +0 -0
  37. {lima2_client-4.2.0 → lima2_client-4.2.1}/pyproject.toml +0 -0
  38. {lima2_client-4.2.0 → lima2_client-4.2.1}/scripts/cleanup_processing_ds.py +0 -0
  39. {lima2_client-4.2.0 → lima2_client-4.2.1}/setup.cfg +0 -0
  40. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/client/__init__.py +0 -0
  41. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/client/_utils.py +0 -0
  42. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/client/exceptions.py +0 -0
  43. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/client/py.typed +0 -0
  44. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/client/services.py +0 -0
  45. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/client/session.py +0 -0
  46. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/client/shell.py +0 -0
  47. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/__init__.py +0 -0
  48. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/devencoded/__init__.py +0 -0
  49. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/devencoded/common.py +0 -0
  50. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/devencoded/data_array.py +0 -0
  51. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/devencoded/exception.py +0 -0
  52. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/devencoded/smx_sparse_frame.py +0 -0
  53. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/devencoded/sparse_frame.py +0 -0
  54. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/devencoded/structured_array.py +0 -0
  55. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/exceptions.py +0 -0
  56. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/pipelines.py +0 -0
  57. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/progress_counter.py +0 -0
  58. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/py.typed +0 -0
  59. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/state.py +0 -0
  60. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/common/types.py +0 -0
  61. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/__init__.py +0 -0
  62. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/acquisition.py +0 -0
  63. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/acquisition_system.py +0 -0
  64. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/detector.py +0 -0
  65. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/__init__.py +0 -0
  66. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/fai.py +0 -0
  67. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/failing.py +0 -0
  68. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/legacy.py +0 -0
  69. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/master_file.py +0 -0
  70. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/pipeline.py +0 -0
  71. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/reduced_data.py +0 -0
  72. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/smx.py +0 -0
  73. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/processing/xpcs.py +0 -0
  74. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/py.typed +0 -0
  75. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/tango/__init__.py +0 -0
  76. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/tango/container.py +0 -0
  77. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/tango/control.py +0 -0
  78. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/tango/processing.py +0 -0
  79. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/tango/receiver.py +0 -0
  80. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/tango/utils.py +0 -0
  81. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/topology.py +0 -0
  82. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/__init__.py +0 -0
  83. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/acquisition.py +0 -0
  84. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/benchmark.py +0 -0
  85. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/benchmark_generators/__init__.py +0 -0
  86. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/benchmark_generators/rois.py +0 -0
  87. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/cli.py +0 -0
  88. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/detector.py +0 -0
  89. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/favicon.ico +0 -0
  90. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/fonts/Roboto-Italic.woff2 +0 -0
  91. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/fonts/Roboto-Medium.woff2 +0 -0
  92. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/fonts/Roboto-MediumItalic.woff2 +0 -0
  93. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/fonts/Roboto-Regular.woff2 +0 -0
  94. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/fonts.css +0 -0
  95. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/index.html +0 -0
  96. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/milligram.css +0 -0
  97. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/monitor/normalize.css +0 -0
  98. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/pipeline.py +0 -0
  99. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/utils.py +0 -0
  100. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2/conductor/webservice/webapp.py +0 -0
  101. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2_client.egg-info/SOURCES.txt +0 -0
  102. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2_client.egg-info/dependency_links.txt +0 -0
  103. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2_client.egg-info/entry_points.txt +0 -0
  104. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2_client.egg-info/requires.txt +0 -0
  105. {lima2_client-4.2.0 → lima2_client-4.2.1}/src/lima2_client.egg-info/top_level.txt +0 -0
  106. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/__init__.py +0 -0
  107. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/integration/__init__.py +0 -0
  108. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/integration/conftest.py +0 -0
  109. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/integration/tango_db/simulator_ctl.yaml +0 -0
  110. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/integration/tango_db/simulator_rcv1.yaml +0 -0
  111. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/integration/tango_db/simulator_rcv2.yaml +0 -0
  112. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/integration/test_failing.py +0 -0
  113. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/integration/test_legacy.py +0 -0
  114. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/__init__.py +0 -0
  115. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/client/__init__.py +0 -0
  116. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/client/conftest.py +0 -0
  117. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/client/test_acquisition.py +0 -0
  118. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/client/test_detector.py +0 -0
  119. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/client/test_pipeline.py +0 -0
  120. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/client/test_session.py +0 -0
  121. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/client/test_utils.py +0 -0
  122. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/common/__init__.py +0 -0
  123. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/common/test_data_array.py +0 -0
  124. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/common/test_progress_counter.py +0 -0
  125. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/common/test_smx_sparse_frame.py +0 -0
  126. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/common/test_sparse_frame.py +0 -0
  127. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/common/test_state.py +0 -0
  128. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/__init__.py +0 -0
  129. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/conftest.py +0 -0
  130. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/mock_devencoded.py +0 -0
  131. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/mock_devices.py +0 -0
  132. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_acquisition.py +0 -0
  133. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_acquisition_system.py +0 -0
  134. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_master_file.py +0 -0
  135. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_pipeline.py +0 -0
  136. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_processing.py +0 -0
  137. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_reduced_data.py +0 -0
  138. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_tango_devices.py +0 -0
  139. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_topology.py +0 -0
  140. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/test_utils.py +0 -0
  141. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/webservice/__init__.py +0 -0
  142. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/webservice/test_acquisition.py +0 -0
  143. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/webservice/test_benchmark.py +0 -0
  144. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/webservice/test_detector.py +0 -0
  145. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/webservice/test_pipelines.py +0 -0
  146. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/webservice/test_utils.py +0 -0
  147. {lima2_client-4.2.0 → lima2_client-4.2.1}/tests/unit/conductor/webservice/test_webapp.py +0 -0
@@ -175,9 +175,8 @@ deploy-registry:
175
175
 
176
176
  pages:
177
177
  stage: doc
178
- before_script:
179
- - pip install .[docs]
180
178
  script:
179
+ - pip install .[docs]
181
180
  - mkdocs build
182
181
  - mv site public
183
182
  tags:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lima2-client
3
- Version: 4.2.0
3
+ Version: 4.2.1
4
4
  Summary: The Python client library of the Lima2 system
5
5
  Author: BCU (ESRF)
6
6
  License-Expression: MIT
@@ -35,7 +35,7 @@ Validator = (
35
35
  @functools.cache
36
36
  def _get_validator(schema: str) -> Validator:
37
37
  """Get a Validator instance from a serialized schema string."""
38
- return jsonschema_rs.validator_for(schema) # type: ignore
38
+ return jsonschema_rs.validator_for(schema)
39
39
 
40
40
 
41
41
  def validate(instance: dict[str, Any], schema: str) -> None:
@@ -11,7 +11,6 @@ uvicorn lima2.conductor.webservice.main:app
11
11
  ```
12
12
  """
13
13
 
14
- import asyncio
15
14
  import logging
16
15
  from pathlib import Path
17
16
 
@@ -35,16 +34,6 @@ utils.configure_logger(file_path=log_path, stdout_log_level=log_level)
35
34
 
36
35
  logger.info("Launching lima2-conductor.")
37
36
 
38
- # Ensure this module is executed with a running event loop
39
- try:
40
- asyncio.get_running_loop()
41
- except RuntimeError as e:
42
- raise RuntimeError(
43
- f"{__file__} must be executed with a running event loop.\n"
44
- "Try `uvicorn lima2.conductor.webservice.main:app`."
45
- ) from e
46
-
47
-
48
37
  ctl_url = utils.env_or_die("LIMA2_CONTROL_URL")
49
38
  rcv_urls = [url.strip() for url in utils.env_or_die("LIMA2_RECEIVER_URLS").split(",")]
50
39
  topology_str = utils.env_or_die("LIMA2_TOPOLOGY")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lima2-client
3
- Version: 4.2.0
3
+ Version: 4.2.1
4
4
  Summary: The Python client library of the Lima2 system
5
5
  Author: BCU (ESRF)
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes