home-assistant-libs / pyserial-asyncio-fast

fast asyncio extension package for pyserial that implements eager writes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyserial-asyncio-fast Documentation codecov

Async I/O extension package for the Python Serial Port Extension for OSX, Linux, BSD

It depends on pySerial and is compatible with Python 3.5 and later.

This version implements eager writes like cpython asyncio selector_events does: https://github.com/python/cpython/blob/b89b838ebc817e5fbffad1ad8e1a85aa2d9f3113/Lib/asyncio/selector_events.py#L1063

This can significantly reduce overhead since the asyncio writer is no longer added and removed frequently.

Documentation

About

fast asyncio extension package for pyserial that implements eager writes

License:Other


Languages

Language:Python 100.0%