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==1.18.2
ruff==0.14.1
construct-typing==0.6.2
typing_extensions==4.15.0
Testing requirements
anyio==4.11.0
coverage==7.11.0
pytest-cov==7.0.0
pytest-timeout==2.4.0
pytest==8.4.2
Documentation requirements
furo==2025.9.25
sphinx==8.2.3
sphinx_autodoc_typehints==3.5.2
sphinx_copybutton==0.5.2
sphinx_inline_tabs==2023.4.21
sphinxext_opengraph==0.13.0
typing_extensions==4.13.1