{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/8"}],"enrichment":{"capability":"Discovers hosts on a local network by performing ARP and PTR lookups asynchronously, with support for interface selection and both programmatic and command-line usage.","skillfed_tags":["async-io","network-discovery","arp-lookup"],"use_cases":["Scan a local network to enumerate connected devices and their hostnames, IPs, and MAC addresses for inventory or monitoring.","Pin discovery to a specific interface on multi-homed hosts to scan a particular subnet instead of relying on the default route.","Build network monitoring or diagnostics tools that need to discover and track devices asynchronously without blocking.","Export discovered hosts as JSON for integration with other network management or orchestration systems.","Validate network connectivity and hostname resolution for devices on a LAN in automated testing or deployment workflows."],"what_it_does":"aiodiscover is an async library for discovering hosts on a local network via ARP and reverse DNS (PTR) lookups. It exposes a DiscoverHosts context manager that can be reused across multiple scans, with optional interface pinning via local_ip to target a specific subnet. The package depends on aiodns for DNS resolution, async_timeout for operation timeouts, cached_ipaddress for IP caching, ifaddr for interface enumeration, and pyroute2 for netlink socket access to ARP tables.\n\nBeyond the programmatic API, aiodiscover ships a command-line tool (aiodiscover) that scans the local network and outputs results in table, JSON, or pprint format. The CLI supports flags for output formatting, logging verbosity, recursive PTR queries, interface selection, and version display. Hostile DHCP or DNS responses are sanitized to prevent terminal injection.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, supports current Python versions, and offers low install friction. It fills a clear niche for async network host discovery with both programmatic and CLI interfaces. The Apache-2.0 license is permissive. Install if you need to discover or enumerate devices on a local network."},"id":"aiodiscover","links":{"html":"https://skillfed.io/packages/aiodiscover","md":"https://skillfed.io/packages/aiodiscover.md","pypi":"https://pypi.org/project/aiodiscover/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-13","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"aiodiscover","python_support":"supports_current","summary":"Discover hosts by arp and ptr lookup"},"popularity":{"monthly_downloads":159881,"position":10685,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.3.2"}
