pykserials 2.5.2__py39-none-any.whl → 2.5.3__py39-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.pyi CHANGED
@@ -7,32 +7,17 @@ import time
7
7
  import queue
8
8
  from typing import Optional, Dict, Callable, Any
9
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
10
  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): ...
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): ...
@@ -4,4 +4,4 @@ import serial
4
4
  import serial.tools.list_ports
5
5
 
6
6
  def scan_available_ports(): ...
7
- def to_bytes(content): ...
7
+ def to_bytes(content): ...
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pykserials
3
- Version: 2.5.2
4
- Summary: Your package description
5
- Author: Your Name
3
+ Version: 2.5.3
4
+ Summary: cesar view
5
+ Author: cesar
6
6
  Classifier: Development Status :: 5 - Production/Stable
7
7
  Classifier: Intended Audience :: Developers
8
8
  Classifier: Programming Language :: Python :: 3.9
@@ -12,13 +12,11 @@ Classifier: Programming Language :: Python :: 3.12
12
12
  Classifier: Operating System :: OS Independent
13
13
  Classifier: License :: OSI Approved :: Apache Software License
14
14
  Classifier: Topic :: Utilities
15
- Description-Content-Type: text/markdown
16
15
  Requires-Dist: pyserial~=3.5
17
16
  Dynamic: author
18
17
  Dynamic: classifier
19
18
  Dynamic: description
20
- Dynamic: description-content-type
21
19
  Dynamic: requires-dist
22
20
  Dynamic: summary
23
21
 
24
- Long description here
22
+ cesar view
@@ -0,0 +1,9 @@
1
+ pykserials/__init__.pyc,sha256=6GtYLCVROLnW_4rxIE_E39CLjM6nz9mkbUYYBc6o7Z8,143
2
+ pykserials/kserials.pyc,sha256=853h7B3xeUnY0zhgJoLwqX_ZO-Vq27o1OTTZkMLtvkw,10313
3
+ pykserials/kserials.pyi,sha256=GF95C-9t0TZLlUOU6GvhHqVJe_HrhsOm1o0KMBOf-hA,1110
4
+ pykserials/kserialutil.pyc,sha256=-9An5NUKRm0ffU4uR9EACyWzo2-GA_90fm_IaQgvD8Y,1569
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=pj98d4MEBDbJvZtpb93CVhHsnAjScrQeFsGnrNM90Ww,93
8
+ pykserials-2.5.3.dist-info/top_level.txt,sha256=MDwC1mWhezDMaaDHwyVSBENiWEAZWLjjB5tBsTXoC8g,17
9
+ pykserials-2.5.3.dist-info/RECORD,,
pykserials/kserials.py DELETED
@@ -1,38 +0,0 @@
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/kserialutil.py DELETED
@@ -1,7 +0,0 @@
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,12 +0,0 @@
1
- pykserials/__init__.py,sha256=6GtYLCVROLnW_4rxIE_E39CLjM6nz9mkbUYYBc6o7Z8,143
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-39.pyc,sha256=6GtYLCVROLnW_4rxIE_E39CLjM6nz9mkbUYYBc6o7Z8,143
7
- pykserials/__pycache__/kserials.cpython-39.pyc,sha256=4DT_YWuC4aP4FEU1eaz025ozPJu4pULyDiuHHkBW5u8,10278
8
- pykserials/__pycache__/kserialutil.cpython-39.pyc,sha256=-9An5NUKRm0ffU4uR9EACyWzo2-GA_90fm_IaQgvD8Y,1569
9
- pykserials-2.5.2.dist-info/METADATA,sha256=hemkU5UirU_VFRS61JIn0xU_0ODPYODqy5G5EwurY4Y,773
10
- pykserials-2.5.2.dist-info/WHEEL,sha256=pj98d4MEBDbJvZtpb93CVhHsnAjScrQeFsGnrNM90Ww,93
11
- pykserials-2.5.2.dist-info/top_level.txt,sha256=MDwC1mWhezDMaaDHwyVSBENiWEAZWLjjB5tBsTXoC8g,17
12
- pykserials-2.5.2.dist-info/RECORD,,
File without changes