pykserials 2.5.1__py310-none-any.whl → 2.5.2__py310-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.py ADDED
@@ -0,0 +1,38 @@
1
+ # Stub file for type hints
2
+
3
+ import serial
4
+ import serial.tools.list_ports
5
+ import threading
6
+ import time
7
+ import queue
8
+ from typing import Optional, Dict, Callable, Any
9
+
10
+ com_port: Optional[str] : ...
11
+ location: Optional[str] : ...
12
+ vid: Optional[int] : ...
13
+ pid: Optional[int] : ...
14
+ baud_rate: int : ...
15
+ bytesize: int : ...
16
+ parity: str : ...
17
+ stop_bits: int : ...
18
+ separator: Optional[str] : ...
19
+ max_send_queue: int : ...
20
+ timeout: float : ...
21
+ write_timeout: float : ...
22
+ retry_interval: float : ...
23
+ max_retries: int : ...
24
+
25
+ class KSerials:
26
+ def __init__(self, *args, **kwargs): ...
27
+ def _find_device(self, *args, **kwargs): ...
28
+ def _connect_serial(self, *args, **kwargs): ...
29
+ def _connection_manager(self, *args, **kwargs): ...
30
+ def _data_handler(self, *args, **kwargs): ...
31
+ def _process_received_data(self, *args, **kwargs): ...
32
+ def _start_data_thread(self, *args, **kwargs): ...
33
+ def _cleanup_data_thread(self, *args, **kwargs): ...
34
+ def start(self, *args, **kwargs): ...
35
+ def stop(self, *args, **kwargs): ...
36
+ def send_data(self, *args, **kwargs): ...
37
+ def receive_data(self, *args, **kwargs): ...
38
+ def get_status(self, *args, **kwargs): ...
pykserials/kserials.pyi CHANGED
@@ -7,15 +7,21 @@ 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: ...
10
+ com_port: Optional[str] : ...
11
+ location: Optional[str] : ...
12
+ vid: Optional[int] : ...
13
+ pid: Optional[int] : ...
14
+ baud_rate: int : ...
15
+ bytesize: int : ...
16
+ parity: str : ...
17
+ stop_bits: int : ...
18
+ separator: Optional[str] : ...
19
+ max_send_queue: int : ...
20
+ timeout: float : ...
21
+ write_timeout: float : ...
22
+ retry_interval: float : ...
23
+ max_retries: int : ...
24
+
19
25
  class KSerials:
20
26
  def __init__(self, *args, **kwargs): ...
21
27
  def _find_device(self, *args, **kwargs): ...
@@ -30,4 +36,3 @@ class KSerials:
30
36
  def send_data(self, *args, **kwargs): ...
31
37
  def receive_data(self, *args, **kwargs): ...
32
38
  def get_status(self, *args, **kwargs): ...
33
-
@@ -0,0 +1,7 @@
1
+ # Stub file for type hints
2
+
3
+ import serial
4
+ import serial.tools.list_ports
5
+
6
+ def scan_available_ports(): ...
7
+ def to_bytes(content): ...
@@ -1,7 +1,8 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pykserials
3
- Version: 2.5.1
4
- Author:
3
+ Version: 2.5.2
4
+ Summary: Your package description
5
+ Author: Your Name
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,13 @@ 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 (~=3.5)
15
+ Description-Content-Type: text/markdown
16
+ Requires-Dist: pyserial~=3.5
17
+ Dynamic: author
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: requires-dist
22
+ Dynamic: summary
15
23
 
24
+ Long description here
@@ -0,0 +1,12 @@
1
+ pykserials/__init__.py,sha256=ILZUn9e8djp8m3BdKpbhjmMzpro1CEwRfiDVEDKjvEY,145
2
+ pykserials/kserials.py,sha256=5o6AGJf-8hUu3NTkgG-2OC7PwQ5Ot235Qx9TWfUuFU0,1176
3
+ pykserials/kserials.pyi,sha256=5o6AGJf-8hUu3NTkgG-2OC7PwQ5Ot235Qx9TWfUuFU0,1176
4
+ pykserials/kserialutil.py,sha256=CS3bPFk2TxOSHpQ3NNQmJojkBp2Riji41P6A6_o5PIs,133
5
+ pykserials/kserialutil.pyi,sha256=CS3bPFk2TxOSHpQ3NNQmJojkBp2Riji41P6A6_o5PIs,133
6
+ pykserials/__pycache__/__init__.cpython-310.pyc,sha256=ILZUn9e8djp8m3BdKpbhjmMzpro1CEwRfiDVEDKjvEY,145
7
+ pykserials/__pycache__/kserials.cpython-310.pyc,sha256=EbtivKwsioiRolPZbZlHXQiZiAGmZ_XWxPN8HLjR-rI,10372
8
+ pykserials/__pycache__/kserialutil.cpython-310.pyc,sha256=Mi4Ha2T9LLDNRJx8che5JGJFGxW3UV_6WrkCN5PFM9U,1567
9
+ pykserials-2.5.2.dist-info/METADATA,sha256=hemkU5UirU_VFRS61JIn0xU_0ODPYODqy5G5EwurY4Y,773
10
+ pykserials-2.5.2.dist-info/WHEEL,sha256=On1CUGCEzpNXsfqia0zTw52oCWXAKpeT6izxtByVbxQ,94
11
+ pykserials-2.5.2.dist-info/top_level.txt,sha256=MDwC1mWhezDMaaDHwyVSBENiWEAZWLjjB5tBsTXoC8g,17
12
+ pykserials-2.5.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.38.4)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py310-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- pykserials/__init__.pyc,sha256=ILZUn9e8djp8m3BdKpbhjmMzpro1CEwRfiDVEDKjvEY,145
2
- pykserials/kserials.pyc,sha256=5MYQlKp_5t7WNnNJLHYWMR_Mz5FlClVqJjqtRO9GZcU,10372
3
- pykserials/kserials.pyi,sha256=80moyfDyTCbngiO3Ezs_DW13MyAuermOBEVnSuo86vg,1026
4
- pykserials/kserialutil.pyc,sha256=Mi4Ha2T9LLDNRJx8che5JGJFGxW3UV_6WrkCN5PFM9U,1567
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=xdKEXCSA3z67AuZ0U8YY67qtEq4KdeUP34QFIQ6Frx0,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