labnode-async 0.16.1__tar.gz → 0.16.3__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.
- {labnode_async-0.16.1 → labnode_async-0.16.3}/PKG-INFO +26 -7
- {labnode_async-0.16.1 → labnode_async-0.16.3}/README.md +6 -5
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/__init__.py +1 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/_version.py +1 -1
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/connection.py +1 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/device_factory.py +1 -1
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/labnode.py +0 -1
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/pid_controller.py +0 -1
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async.egg-info/PKG-INFO +27 -8
- {labnode_async-0.16.1 → labnode_async-0.16.3}/pyproject.toml +2 -1
- {labnode_async-0.16.1 → labnode_async-0.16.3}/LICENSE +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/devices.py +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/errors.py +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/ip_connection.py +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async/serial_connection.py +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async.egg-info/SOURCES.txt +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async.egg-info/dependency_links.txt +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async.egg-info/requires.txt +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/labnode_async.egg-info/top_level.txt +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/setup.cfg +0 -0
- {labnode_async-0.16.1 → labnode_async-0.16.3}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: labnode_async
|
|
3
|
-
Version: 0.16.
|
|
3
|
+
Version: 0.16.3
|
|
4
4
|
Summary: Python3 AsyncIO Labnode driver
|
|
5
5
|
Author-email: Patrick Baus <patrick.baus@physik.tu-darmstadt.de>
|
|
6
6
|
License: GNU General Public License v3 (GPLv3)
|
|
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.7
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.8
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.9
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
18
|
Classifier: Development Status :: 5 - Production/Stable
|
|
18
19
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
19
20
|
Classifier: Operating System :: OS Independent
|
|
@@ -24,18 +25,36 @@ Classifier: Topic :: Home Automation
|
|
|
24
25
|
Classifier: Topic :: Scientific/Engineering
|
|
25
26
|
Requires-Python: >=3.7
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
28
|
+
License-File: LICENSE
|
|
29
|
+
Requires-Dist: typing-extensions; python_version < "3.11"
|
|
30
|
+
Requires-Dist: cbor2
|
|
31
|
+
Requires-Dist: cobs
|
|
32
|
+
Requires-Dist: pyserial-asyncio
|
|
27
33
|
Provides-Extra: dev
|
|
34
|
+
Requires-Dist: black; extra == "dev"
|
|
35
|
+
Requires-Dist: build; extra == "dev"
|
|
36
|
+
Requires-Dist: isort; extra == "dev"
|
|
37
|
+
Requires-Dist: mypy; extra == "dev"
|
|
38
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
39
|
+
Requires-Dist: pylint; extra == "dev"
|
|
40
|
+
Requires-Dist: pytest; extra == "dev"
|
|
41
|
+
Requires-Dist: twine; extra == "dev"
|
|
28
42
|
Provides-Extra: doc
|
|
43
|
+
Requires-Dist: myst-parser; extra == "doc"
|
|
44
|
+
Requires-Dist: sphinx; extra == "doc"
|
|
29
45
|
Provides-Extra: test
|
|
30
|
-
|
|
46
|
+
Requires-Dist: mypy; extra == "test"
|
|
47
|
+
Requires-Dist: pylint; extra == "test"
|
|
48
|
+
Requires-Dist: pytest; extra == "test"
|
|
31
49
|
|
|
32
|
-
[](../../actions/workflows/pylint.yml)
|
|
33
51
|
[](https://pypi.org/project/labnode_async/)
|
|
34
52
|

|
|
35
53
|

|
|
54
|
+
[](LICENSE)
|
|
36
55
|
[](https://github.com/psf/black)
|
|
37
56
|
# LabNode
|
|
38
|
-
This is the Python3
|
|
57
|
+
This is the Python3 asyncio API library for the [Labnode](https://github.com/TU-Darmstadt-APQ/Labnode_PID) system.
|
|
39
58
|
|
|
40
59
|
The library is fully type-hinted.
|
|
41
60
|
|
|
@@ -68,15 +87,15 @@ async with IPConnection("192.1680.0.2") as device:
|
|
|
68
87
|
...
|
|
69
88
|
```
|
|
70
89
|
|
|
71
|
-
See [examples/](
|
|
90
|
+
See [examples/](/examples/) for more working examples.
|
|
72
91
|
|
|
73
92
|
## Versioning
|
|
74
93
|
I use [SemVer](http://semver.org/) for versioning. For the versions available, see the
|
|
75
|
-
[tags of this repository](
|
|
94
|
+
[tags of this repository](../../tags).
|
|
76
95
|
|
|
77
96
|
## Authors
|
|
78
97
|
* **Patrick Baus** - *Initial work* - [PatrickBaus](https://github.com/PatrickBaus)
|
|
79
98
|
|
|
80
99
|
## License
|
|
81
100
|
This project is licensed under the GPL v3 license - see the
|
|
82
|
-
[LICENSE](
|
|
101
|
+
[LICENSE](LICENSE) file for details.
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
[](../../actions/workflows/pylint.yml)
|
|
2
2
|
[](https://pypi.org/project/labnode_async/)
|
|
3
3
|

|
|
4
4
|

|
|
5
|
+
[](LICENSE)
|
|
5
6
|
[](https://github.com/psf/black)
|
|
6
7
|
# LabNode
|
|
7
|
-
This is the Python3
|
|
8
|
+
This is the Python3 asyncio API library for the [Labnode](https://github.com/TU-Darmstadt-APQ/Labnode_PID) system.
|
|
8
9
|
|
|
9
10
|
The library is fully type-hinted.
|
|
10
11
|
|
|
@@ -37,15 +38,15 @@ async with IPConnection("192.1680.0.2") as device:
|
|
|
37
38
|
...
|
|
38
39
|
```
|
|
39
40
|
|
|
40
|
-
See [examples/](
|
|
41
|
+
See [examples/](/examples/) for more working examples.
|
|
41
42
|
|
|
42
43
|
## Versioning
|
|
43
44
|
I use [SemVer](http://semver.org/) for versioning. For the versions available, see the
|
|
44
|
-
[tags of this repository](
|
|
45
|
+
[tags of this repository](../../tags).
|
|
45
46
|
|
|
46
47
|
## Authors
|
|
47
48
|
* **Patrick Baus** - *Initial work* - [PatrickBaus](https://github.com/PatrickBaus)
|
|
48
49
|
|
|
49
50
|
## License
|
|
50
51
|
This project is licensed under the GPL v3 license - see the
|
|
51
|
-
[LICENSE](
|
|
52
|
+
[LICENSE](LICENSE) file for details.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
The Python implementation for the Labnode API. It supports both :class:`~IPConnection` and :class:`~SerialConnection`.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from ._version import __version__
|
|
5
6
|
from .ip_connection import IPConnection
|
|
6
7
|
from .pid_controller import FeedbackDirection, PidController
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# pylint: disable=missing-module-docstring
|
|
2
|
-
__version__ = "0.16.
|
|
2
|
+
__version__ = "0.16.3"
|
|
@@ -50,7 +50,7 @@ class DeviceFactory:
|
|
|
50
50
|
A Labnode device class to be registered with the factory.
|
|
51
51
|
"""
|
|
52
52
|
# We cast device.device_identifier because mypy has problems class properties
|
|
53
|
-
self.__available_devices[cast(DeviceIdentifier, device.device_identifier)] = device
|
|
53
|
+
self.__available_devices[cast(DeviceIdentifier, device.device_identifier())] = device
|
|
54
54
|
|
|
55
55
|
def get(self, device_id: DeviceIdentifier, connection: Connection, *args: Any, **kwargs: Any) -> Labnode:
|
|
56
56
|
"""
|
|
@@ -61,7 +61,6 @@ class PidController(Labnode): # pylint: disable=too-many-public-methods
|
|
|
61
61
|
__DEVICE_IDENTIFIER = DeviceIdentifier.PID
|
|
62
62
|
|
|
63
63
|
@classmethod
|
|
64
|
-
@property
|
|
65
64
|
def device_identifier(cls) -> DeviceIdentifier:
|
|
66
65
|
"""The device identifier used to identify the device type"""
|
|
67
66
|
return cls.__DEVICE_IDENTIFIER
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name:
|
|
3
|
-
Version: 0.16.
|
|
2
|
+
Name: labnode_async
|
|
3
|
+
Version: 0.16.3
|
|
4
4
|
Summary: Python3 AsyncIO Labnode driver
|
|
5
5
|
Author-email: Patrick Baus <patrick.baus@physik.tu-darmstadt.de>
|
|
6
6
|
License: GNU General Public License v3 (GPLv3)
|
|
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.7
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.8
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.9
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
18
|
Classifier: Development Status :: 5 - Production/Stable
|
|
18
19
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
19
20
|
Classifier: Operating System :: OS Independent
|
|
@@ -24,18 +25,36 @@ Classifier: Topic :: Home Automation
|
|
|
24
25
|
Classifier: Topic :: Scientific/Engineering
|
|
25
26
|
Requires-Python: >=3.7
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
28
|
+
License-File: LICENSE
|
|
29
|
+
Requires-Dist: typing-extensions; python_version < "3.11"
|
|
30
|
+
Requires-Dist: cbor2
|
|
31
|
+
Requires-Dist: cobs
|
|
32
|
+
Requires-Dist: pyserial-asyncio
|
|
27
33
|
Provides-Extra: dev
|
|
34
|
+
Requires-Dist: black; extra == "dev"
|
|
35
|
+
Requires-Dist: build; extra == "dev"
|
|
36
|
+
Requires-Dist: isort; extra == "dev"
|
|
37
|
+
Requires-Dist: mypy; extra == "dev"
|
|
38
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
39
|
+
Requires-Dist: pylint; extra == "dev"
|
|
40
|
+
Requires-Dist: pytest; extra == "dev"
|
|
41
|
+
Requires-Dist: twine; extra == "dev"
|
|
28
42
|
Provides-Extra: doc
|
|
43
|
+
Requires-Dist: myst-parser; extra == "doc"
|
|
44
|
+
Requires-Dist: sphinx; extra == "doc"
|
|
29
45
|
Provides-Extra: test
|
|
30
|
-
|
|
46
|
+
Requires-Dist: mypy; extra == "test"
|
|
47
|
+
Requires-Dist: pylint; extra == "test"
|
|
48
|
+
Requires-Dist: pytest; extra == "test"
|
|
31
49
|
|
|
32
|
-
[](../../actions/workflows/pylint.yml)
|
|
33
51
|
[](https://pypi.org/project/labnode_async/)
|
|
34
52
|

|
|
35
53
|

|
|
54
|
+
[](LICENSE)
|
|
36
55
|
[](https://github.com/psf/black)
|
|
37
56
|
# LabNode
|
|
38
|
-
This is the Python3
|
|
57
|
+
This is the Python3 asyncio API library for the [Labnode](https://github.com/TU-Darmstadt-APQ/Labnode_PID) system.
|
|
39
58
|
|
|
40
59
|
The library is fully type-hinted.
|
|
41
60
|
|
|
@@ -68,15 +87,15 @@ async with IPConnection("192.1680.0.2") as device:
|
|
|
68
87
|
...
|
|
69
88
|
```
|
|
70
89
|
|
|
71
|
-
See [examples/](
|
|
90
|
+
See [examples/](/examples/) for more working examples.
|
|
72
91
|
|
|
73
92
|
## Versioning
|
|
74
93
|
I use [SemVer](http://semver.org/) for versioning. For the versions available, see the
|
|
75
|
-
[tags of this repository](
|
|
94
|
+
[tags of this repository](../../tags).
|
|
76
95
|
|
|
77
96
|
## Authors
|
|
78
97
|
* **Patrick Baus** - *Initial work* - [PatrickBaus](https://github.com/PatrickBaus)
|
|
79
98
|
|
|
80
99
|
## License
|
|
81
100
|
This project is licensed under the GPL v3 license - see the
|
|
82
|
-
[LICENSE](
|
|
101
|
+
[LICENSE](LICENSE) file for details.
|
|
@@ -13,6 +13,7 @@ classifiers = [
|
|
|
13
13
|
"Programming Language :: Python :: 3.8",
|
|
14
14
|
"Programming Language :: Python :: 3.9",
|
|
15
15
|
"Programming Language :: Python :: 3.10",
|
|
16
|
+
"Programming Language :: Python :: 3.11",
|
|
16
17
|
"Development Status :: 5 - Production/Stable",
|
|
17
18
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
18
19
|
"Operating System :: OS Independent",
|
|
@@ -73,7 +74,7 @@ markers = [
|
|
|
73
74
|
requires = [
|
|
74
75
|
"setuptools>=61.0",
|
|
75
76
|
"typing-extensions; python_version <'3.11'",
|
|
76
|
-
"cbor2",
|
|
77
|
+
"cbor2>=5.6.2",
|
|
77
78
|
"cobs",
|
|
78
79
|
"pyserial-asyncio",
|
|
79
80
|
]
|
|
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
|