pymodaq_plugins_utils 5.0.5__tar.gz → 5.0.6__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.
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.github/workflows/Test.yml +2 -2
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.github/workflows/Testbase.yml +1 -1
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/PKG-INFO +7 -4
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/README.rst +1 -1
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/pyproject.toml +6 -1
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py +1 -1
- pymodaq_plugins_utils-5.0.6/tests/import_report_pymodaq_plugins_utils_None.txt +1 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/tests/test_plugin_package_structure.py +0 -23
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.gitattributes +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.github/workflows/compatibility.yml +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.github/workflows/python-publish.yml +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.github/workflows/updater.yml +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.gitignore +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/LICENSE +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/hatch_build.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/icon.ico +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/app/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/exporters/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/extensions/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/extensions/custom_extension_template.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/hardware/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/hardware/base.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/hardware/serial_ports.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/hardware/visa.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/models/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/resources/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/resources/config_template.toml +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/scanners/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/utils.py +0 -0
- {pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/tests/hardware_test.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: pymodaq_plugins_utils
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.6
|
|
4
4
|
Summary: Set of utility methods and classes to interact with instruments
|
|
5
5
|
Project-URL: Homepage, https://pymodaq.cnrs.fr
|
|
6
6
|
Project-URL: Documentation , https://pymodaq.cnrs.fr
|
|
7
7
|
Project-URL: Repository , https://github.com/PyMoDAQ/pymodaq_plugins_utils
|
|
8
|
-
Author-email: Weber Sebastien <sebastien.weber@cemes.fr>
|
|
8
|
+
Author-email: Weber Sebastien <sebastien.weber@cemes.fr>, Schouder Constant <constant.schouder@universite-paris-saclay.fr>
|
|
9
9
|
Maintainer-email: Weber Sebastien <sebastien.weber@cemes.fr>
|
|
10
10
|
License: The MIT License (MIT)
|
|
11
11
|
|
|
@@ -44,6 +44,9 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
44
44
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
45
45
|
Requires-Python: >=3.8
|
|
46
46
|
Requires-Dist: pymodaq>=5.0.0
|
|
47
|
+
Provides-Extra: camera
|
|
48
|
+
Requires-Dist: opencv-python; extra == 'camera'
|
|
49
|
+
Requires-Dist: pylablib; extra == 'camera'
|
|
47
50
|
Provides-Extra: serial
|
|
48
51
|
Requires-Dist: pyserial; extra == 'serial'
|
|
49
52
|
Requires-Dist: pyvisa; extra == 'serial'
|
|
@@ -75,7 +78,7 @@ Authors
|
|
|
75
78
|
=======
|
|
76
79
|
|
|
77
80
|
* Sebastien J. Weber (sebastien.weber@cemes.fr)
|
|
78
|
-
*
|
|
81
|
+
* Constant Schouder (constant.schouder@universite-paris-saclay.fr)
|
|
79
82
|
|
|
80
83
|
.. if needed use this field
|
|
81
84
|
|
|
@@ -14,6 +14,11 @@ serial = [
|
|
|
14
14
|
"pyserial",
|
|
15
15
|
]
|
|
16
16
|
|
|
17
|
+
camera = [
|
|
18
|
+
"pylablib",
|
|
19
|
+
"opencv-python",
|
|
20
|
+
]
|
|
21
|
+
|
|
17
22
|
[project]
|
|
18
23
|
name = "pymodaq_plugins_utils"
|
|
19
24
|
description = 'Set of utility methods and classes to interact with instruments'
|
|
@@ -24,7 +29,7 @@ dependencies = [
|
|
|
24
29
|
|
|
25
30
|
authors = [
|
|
26
31
|
{name = "Weber Sebastien", email = "sebastien.weber@cemes.fr"},
|
|
27
|
-
|
|
32
|
+
{name = "Schouder Constant", email = "constant.schouder@universite-paris-saclay.fr"},
|
|
28
33
|
]
|
|
29
34
|
maintainers = [
|
|
30
35
|
{name = "Weber Sebastien", email = "sebastien.weber@cemes.fr"},
|
|
@@ -300,7 +300,7 @@ class CameraBasePyLabLib(DAQ_Viewer_base):
|
|
|
300
300
|
self.settings.child('buffer', 'mode').setReadonly(True)
|
|
301
301
|
|
|
302
302
|
|
|
303
|
-
self.callback_thread = QtCore.QThread() # creation of a Qt5 thread
|
|
303
|
+
self.callback_thread = QtCore.QThread(self) # creation of a Qt5 thread
|
|
304
304
|
callback.moveToThread(self.callback_thread) # callback object will live within this thread
|
|
305
305
|
|
|
306
306
|
callback.data_sig.connect(
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"from pymodaq_plugins_template.utils import Config" in C:\Users\weber\Labo\ProgrammesPython\PyMoDAQ_Git\pymodaq_plugins_folder\pymodaq_plugins_utils\src\pymodaq_plugins_utils\extensions\custom_extension_template.py (12)
|
{pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/tests/test_plugin_package_structure.py
RENAMED
|
@@ -60,14 +60,6 @@ def test_imports():
|
|
|
60
60
|
mod = importlib.import_module(pkg_name)
|
|
61
61
|
assert hasattr(mod, 'config')
|
|
62
62
|
assert hasattr(mod, '__version__')
|
|
63
|
-
move_mod = importlib.import_module(f'{pkg_name}', 'daq_move_plugins')
|
|
64
|
-
importlib.import_module(f'{pkg_name}', 'daq_viewer_plugins')
|
|
65
|
-
importlib.import_module(f'{pkg_name}', 'extensions')
|
|
66
|
-
importlib.import_module(f'{pkg_name}', 'models')
|
|
67
|
-
importlib.import_module(f'{pkg_name}.daq_viewer_plugins', 'plugins_0D')
|
|
68
|
-
importlib.import_module(f'{pkg_name}.daq_viewer_plugins', 'plugins_1D')
|
|
69
|
-
importlib.import_module(f'{pkg_name}.daq_viewer_plugins', 'plugins_2D')
|
|
70
|
-
importlib.import_module(f'{pkg_name}.daq_viewer_plugins', 'plugins_ND')
|
|
71
63
|
|
|
72
64
|
|
|
73
65
|
def test_move_inst_plugins_name():
|
|
@@ -117,18 +109,3 @@ def test_viewer_has_mandatory_methods(dim):
|
|
|
117
109
|
for meth in MANDATORY_VIEWER_METHODS:
|
|
118
110
|
assert hasattr(klass, meth)
|
|
119
111
|
|
|
120
|
-
def test_compatibility(capsys):
|
|
121
|
-
capsys.disabled()
|
|
122
|
-
try:
|
|
123
|
-
from pymodaq_plugin_manager.compatibility_checker import PyMoDAQPlugin
|
|
124
|
-
except (ModuleNotFoundError, ImportError) as e:
|
|
125
|
-
pytest.fail(f"Please update pymodaq_plugin_manager to a newer version: {e}")
|
|
126
|
-
|
|
127
|
-
plugin = PyMoDAQPlugin(get_package_name(), None)
|
|
128
|
-
success = plugin.all_imports_valid()
|
|
129
|
-
msg = '\n'.join(plugin.failed_imports + [''])
|
|
130
|
-
|
|
131
|
-
if not success:
|
|
132
|
-
plugin.save_import_report(".")
|
|
133
|
-
|
|
134
|
-
assert success, msg
|
|
File without changes
|
{pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.github/workflows/compatibility.yml
RENAMED
|
File without changes
|
{pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/.github/workflows/python-publish.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymodaq_plugins_utils-5.0.5 → pymodaq_plugins_utils-5.0.6}/src/pymodaq_plugins_utils/utils.py
RENAMED
|
File without changes
|
|
File without changes
|