Read from and write to a serial port - web.dev
https://web.dev/serial12.08.2020 · The Web Serial API provides a way for websites to read from and write to a serial device with JavaScript. Serial devices are connected either through a serial port on the user's system or through removable USB and Bluetooth devices that emulate a serial port. In other words, the Web Serial API bridges the web and the physical world by allowing ...
pySerial API — pySerial 3.4 documentation
pyserial.readthedocs.io › en › latestImplement a serial port read loop and dispatch to a Protocol instance (like the asyncio.Protocol) but do it with threads. Calls to close() will close the serial port but it is also possible to just stop() this thread and continue to use the serial port instance otherwise. __init__ (serial_instance, protocol_factory) ¶
pySerial — pySerial 3.4 documentation
pyserial.readthedocs.io › en › latestOverview ¶. This module encapsulates the access for the serial port. It provides backends for Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliant system) and IronPython. The module named “serial” automatically selects the appropriate backend. It is released under a free software license, see LICENSE for more details.