bec-ipython-client 3.139.0__tar.gz → 3.140.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/PKG-INFO +1 -1
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/utils.py +10 -4
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/pyproject.toml +3 -1
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/.gitignore +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/__init__.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/beamline_mixin.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/bec_magics.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/bec_startup.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/__init__.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/device_progress.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/ipython_live_updates.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/live_table.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/move_device.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/high_level_interfaces/__init__.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/high_level_interfaces/bec_hli.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/high_level_interfaces/spec_hli.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/main.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/SLS/__init__.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/SLS/sls_info.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/XTreme/__init__.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/XTreme/x-treme.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/__init__.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/flomni/flomni_config.yaml +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/prettytable.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/progressbar.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/signals.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/demo.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/conftest.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_beamline_mixins.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_bec_client.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_device_progress.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_ipython_live_updates.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_live_table.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_move_callback.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_pretty_table.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_signals.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/conftest.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/_ensure_requirements_container.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_actors_e2e.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_procedures_e2e.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_scans_e2e.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_scans_lib_e2e.py +0 -0
- {bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_scans_v4_lib_e2e.py +0 -0
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/utils.py
RENAMED
|
@@ -74,20 +74,26 @@ class LiveUpdatesBase(abc.ABC):
|
|
|
74
74
|
# pylint: disable=protected-access
|
|
75
75
|
if self.scan_queue_request is None:
|
|
76
76
|
return
|
|
77
|
-
|
|
77
|
+
queue = self.scan_queue_request.queue
|
|
78
|
+
if queue is None:
|
|
79
|
+
return
|
|
80
|
+
msgs = queue.get_client_messages(only_asap=True)
|
|
78
81
|
if not msgs:
|
|
79
82
|
return
|
|
80
83
|
if self.bec.live_updates_config.print_client_messages is False:
|
|
81
84
|
return
|
|
82
85
|
for msg in msgs:
|
|
83
|
-
print(
|
|
86
|
+
print(queue.format_client_msg(msg))
|
|
84
87
|
|
|
85
88
|
def _print_client_msgs_all(self):
|
|
86
89
|
"""Print summary of client messages"""
|
|
87
90
|
# pylint: disable=protected-access
|
|
88
91
|
if self.scan_queue_request is None:
|
|
89
92
|
return
|
|
90
|
-
|
|
93
|
+
queue = self.scan_queue_request.queue
|
|
94
|
+
if queue is None:
|
|
95
|
+
return
|
|
96
|
+
msgs = queue.get_client_messages()
|
|
91
97
|
if self.bec.live_updates_config.print_client_messages is False:
|
|
92
98
|
return
|
|
93
99
|
if not msgs:
|
|
@@ -97,7 +103,7 @@ class LiveUpdatesBase(abc.ABC):
|
|
|
97
103
|
print("------------------------")
|
|
98
104
|
# pylint: disable=protected-access
|
|
99
105
|
for msg in msgs:
|
|
100
|
-
print(
|
|
106
|
+
print(queue.format_client_msg(msg))
|
|
101
107
|
print("------------------------")
|
|
102
108
|
|
|
103
109
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "bec_ipython_client"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.140.0"
|
|
8
8
|
description = "BEC IPython client"
|
|
9
9
|
requires-python = ">=3.11"
|
|
10
10
|
classifiers = [
|
|
@@ -95,6 +95,8 @@ Homepage = "https://github.com/bec-project/bec"
|
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
|
|
99
|
+
|
|
98
100
|
|
|
99
101
|
|
|
100
102
|
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/beamline_mixin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/callbacks/live_table.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/SLS/__init__.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/SLS/sls_info.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/bec_ipython_client/plugins/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_beamline_mixins.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_bec_client.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_device_progress.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_live_table.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_move_callback.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_pretty_table.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/client_tests/test_signals.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_actors_e2e.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_procedures_e2e.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_scans_lib_e2e.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.139.0 → bec_ipython_client-3.140.0}/tests/end-2-end/test_scans_v4_lib_e2e.py
RENAMED
|
File without changes
|