Async host discovery via ARP and PTR lookup, used primarily in home automation projects like Home Assistant. Current version: 2.7.1. Release cadence: frequent, every few months.
pip install aiodiscoverVerified import paths — ran on the pinned version, not inferred.
Discover all hosts on the local network using ARP and PTR lookup.
Rely on internal resolver management; do not instantiate multiple AIODiscover objects.
Run script with sudo, or use Docker with NET_ADMIN capability.
For Python >=3.11, no extra needed; for older versions, install async_timeout.