Serial Port support for python-trio on Windows
Project description
trio-serial-windows
Implements a serial port with a Trio Stream interface on Windows.
See trio-serial for the equivalent functionality on Linux and MacOS.
Example usage (assuming a looped back serial connection):
import trio
import trio_serial_windows
async def main():
async with trio_serial_windows.SerialStream("COM5", baudrate=115200) as port:
await port.send_all(b"Hello, World!")
await trio.sleep(0.2)
print(await port.receive_some())
trio.run(main)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trio-serial-windows-0.1.1.tar.gz
(13.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trio-serial-windows-0.1.1.tar.gz.
File metadata
- Download URL: trio-serial-windows-0.1.1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b731b409fc89eda4b2b166fc74e49a24502432451b49c1c22aca909d0e5498a
|
|
| MD5 |
ef514605ab243fad391c4d47252eff45
|
|
| BLAKE2b-256 |
22745ecc1dd24cf91c38c5245a66d79b16251199c59a0f8089458cbc019f886c
|
File details
Details for the file trio_serial_windows-0.1.1-py3-none-any.whl.
File metadata
- Download URL: trio_serial_windows-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0072e470da7511d9625cf1d7435ddc9b72e12853a73e1bc1c8896355fe0074c
|
|
| MD5 |
07dd30ff973b318f06a67760688ef6ab
|
|
| BLAKE2b-256 |
912bfe22481dc2426361877ab86c3a9977a040e93e4880eb6f22191d4426a741
|