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)
Metadata
Release files for trio-serial-windows 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trio-serial-windows-0.1.1.tar.gz | 13.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trio_serial_windows-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.7 kB
Release files / trio-serial-windows-0.1.1.tar.gz
| Download URL | trio-serial-windows-0.1.1.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b731b409fc89eda4b2b166fc74e49a24502432451b49c1c22aca909d0e5498a
|
|
BLAKE2b-256 checksum How to use checksums |
22745ecc1dd24cf91c38c5245a66d79b16251199c59a0f8089458cbc019f886c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / trio_serial_windows-0.1.1-py3-none-any.whl
| Download URL | trio_serial_windows-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0072e470da7511d9625cf1d7435ddc9b72e12853a73e1bc1c8896355fe0074c
|
|
BLAKE2b-256 checksum How to use checksums |
912bfe22481dc2426361877ab86c3a9977a040e93e4880eb6f22191d4426a741
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|