pykserials 2.5.1__py311-none-any.whl → 2.5.3__py311-none-any.whl
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.
- pykserials/kserials.pyc +0 -0
- pykserials/kserials.pyi +13 -23
- pykserials/kserialutil.pyi +1 -1
- {pykserials-2.5.1.dist-info → pykserials-2.5.3.dist-info}/METADATA +11 -4
- pykserials-2.5.3.dist-info/RECORD +9 -0
- {pykserials-2.5.1.dist-info → pykserials-2.5.3.dist-info}/WHEEL +1 -1
- pykserials-2.5.1.dist-info/RECORD +0 -9
- {pykserials-2.5.1.dist-info → pykserials-2.5.3.dist-info}/top_level.txt +0 -0
pykserials/kserials.pyc
CHANGED
|
Binary file
|
pykserials/kserials.pyi
CHANGED
|
@@ -7,27 +7,17 @@ import time
|
|
|
7
7
|
import queue
|
|
8
8
|
from typing import Optional, Dict, Callable, Any
|
|
9
9
|
|
|
10
|
-
baud_rate: int: ...
|
|
11
|
-
bytesize: int: ...
|
|
12
|
-
parity: str: ...
|
|
13
|
-
stop_bits: int: ...
|
|
14
|
-
max_send_queue: int: ...
|
|
15
|
-
timeout: float: ...
|
|
16
|
-
write_timeout: float: ...
|
|
17
|
-
retry_interval: float: ...
|
|
18
|
-
max_retries: int: ...
|
|
19
10
|
class KSerials:
|
|
20
|
-
def __init__(self,
|
|
21
|
-
def _find_device(self
|
|
22
|
-
def _connect_serial(self
|
|
23
|
-
def _connection_manager(self
|
|
24
|
-
def _data_handler(self
|
|
25
|
-
def _process_received_data(self,
|
|
26
|
-
def _start_data_thread(self
|
|
27
|
-
def _cleanup_data_thread(self
|
|
28
|
-
def start(self
|
|
29
|
-
def stop(self
|
|
30
|
-
def send_data(self,
|
|
31
|
-
def receive_data(self,
|
|
32
|
-
def get_status(self
|
|
33
|
-
|
|
11
|
+
def __init__(self, com_port: Optional[str] = None, location: Optional[str] = None, vid: Optional[int] = None, pid: Optional[int] = None, baud_rate: int = 9600, bytesize: int = serial.EIGHTBITS, parity: str = serial.PARITY_NONE, stop_bits: int = serial.STOPBITS_ONE, separator: Optional[str] = None, receive_queue: Optional[queue.Queue] = None, max_send_queue: int = 100, timeout: float = 1.0, write_timeout: float = 1.0, retry_interval: float = 3.0, max_retries: int = 0): ...
|
|
12
|
+
def _find_device(self): ...
|
|
13
|
+
def _connect_serial(self): ...
|
|
14
|
+
def _connection_manager(self): ...
|
|
15
|
+
def _data_handler(self): ...
|
|
16
|
+
def _process_received_data(self, data: bytes): ...
|
|
17
|
+
def _start_data_thread(self): ...
|
|
18
|
+
def _cleanup_data_thread(self): ...
|
|
19
|
+
def start(self): ...
|
|
20
|
+
def stop(self): ...
|
|
21
|
+
def send_data(self, data: bytes): ...
|
|
22
|
+
def receive_data(self, timeout: float = None): ...
|
|
23
|
+
def get_status(self): ...
|
pykserials/kserialutil.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pykserials
|
|
3
|
-
Version: 2.5.
|
|
4
|
-
|
|
3
|
+
Version: 2.5.3
|
|
4
|
+
Summary: cesar view
|
|
5
|
+
Author: cesar
|
|
5
6
|
Classifier: Development Status :: 5 - Production/Stable
|
|
6
7
|
Classifier: Intended Audience :: Developers
|
|
7
8
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -11,5 +12,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
11
12
|
Classifier: Operating System :: OS Independent
|
|
12
13
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
14
|
Classifier: Topic :: Utilities
|
|
14
|
-
Requires-Dist: pyserial
|
|
15
|
+
Requires-Dist: pyserial~=3.5
|
|
16
|
+
Dynamic: author
|
|
17
|
+
Dynamic: classifier
|
|
18
|
+
Dynamic: description
|
|
19
|
+
Dynamic: requires-dist
|
|
20
|
+
Dynamic: summary
|
|
15
21
|
|
|
22
|
+
cesar view
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
pykserials/__init__.pyc,sha256=N9zb44E7MdO2_pKflVDLbgzHxsvH-QAZxYj61xq3QqM,161
|
|
2
|
+
pykserials/kserials.pyc,sha256=iTdwfRAY2EDg2bEL6fZrdPBjduR8AspO8bmk7K4ixLE,21986
|
|
3
|
+
pykserials/kserials.pyi,sha256=GF95C-9t0TZLlUOU6GvhHqVJe_HrhsOm1o0KMBOf-hA,1110
|
|
4
|
+
pykserials/kserialutil.pyc,sha256=tiE8XRgqqroPgjochWE3iXZ3RcL0i30MHzC4FyzeOXM,2857
|
|
5
|
+
pykserials/kserialutil.pyi,sha256=5XufcCgRewFzaNKyLllHgikoDxr886qEjUfpzMOkxJc,132
|
|
6
|
+
pykserials-2.5.3.dist-info/METADATA,sha256=BnhBFZQ8LDcHD2C6zPaVty3vatlycsMYPyyZ3gKIpEU,670
|
|
7
|
+
pykserials-2.5.3.dist-info/WHEEL,sha256=3pMPVGafkWMysQ-LzCUIa1kC4jzQ9ObgXeg0sbn47Vc,94
|
|
8
|
+
pykserials-2.5.3.dist-info/top_level.txt,sha256=MDwC1mWhezDMaaDHwyVSBENiWEAZWLjjB5tBsTXoC8g,17
|
|
9
|
+
pykserials-2.5.3.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
pykserials/__init__.pyc,sha256=N9zb44E7MdO2_pKflVDLbgzHxsvH-QAZxYj61xq3QqM,161
|
|
2
|
-
pykserials/kserials.pyc,sha256=KNG6zDpzrTVXtl6cNjg99ac7slWvM68m0LR4jyMspyA,21949
|
|
3
|
-
pykserials/kserials.pyi,sha256=80moyfDyTCbngiO3Ezs_DW13MyAuermOBEVnSuo86vg,1026
|
|
4
|
-
pykserials/kserialutil.pyc,sha256=tiE8XRgqqroPgjochWE3iXZ3RcL0i30MHzC4FyzeOXM,2857
|
|
5
|
-
pykserials/kserialutil.pyi,sha256=CS3bPFk2TxOSHpQ3NNQmJojkBp2Riji41P6A6_o5PIs,133
|
|
6
|
-
pykserials-2.5.1.dist-info/METADATA,sha256=0C7FQmp6xV510g47tbnP34N7KqlpCVsFzT_RPtYzSMA,540
|
|
7
|
-
pykserials-2.5.1.dist-info/WHEEL,sha256=ysnTNrLCKifJqMg9dAFGKGWTxqaKqiHlDjTWDwfurOE,94
|
|
8
|
-
pykserials-2.5.1.dist-info/top_level.txt,sha256=MDwC1mWhezDMaaDHwyVSBENiWEAZWLjjB5tBsTXoC8g,17
|
|
9
|
-
pykserials-2.5.1.dist-info/RECORD,,
|
|
File without changes
|