Dependencies

Runtime dependencies

aio-ld2410 would not have been possible without the following great projects:

  • async-timeout: when used with Python 3.10 or lower to implement command timeout.

  • construct: library used to serialize and deserialize LD2410’s protocol structures to binary bytes that are then sent and received on top of the asynchronous UART link.

  • dacite: ligthweight library used to build dataclasses out of the construct structures.

  • pyserial-asyncio-fast: a fast and reliable asyncio library for serial communication.

Development dependencies

Linting requirements
mypy==2.1.0
ruff==0.15.13
construct-typing==0.7.0
typing_extensions==4.15.0
Testing requirements
anyio==4.13.0
coverage==7.14.0
pytest-cov==7.1.0
pytest-timeout==2.4.0
pytest==9.0.3
Documentation requirements
furo==2025.12.19
sphinx==9.1.0
sphinx_autodoc_typehints==3.10.2
sphinx_copybutton==0.5.2
sphinx_inline_tabs==2025.12.21.14
sphinxext_opengraph==0.13.0
typing_extensions==4.13.1