$npx skillfedfor your agent

aiodiscover

Discover hosts by arp and ptr lookup

Worth itPyPI LibrariesReleased Jun 2026159.9K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiodiscover-3.3.2-py3-none-any.whl
v3.3.2 · released 2026-06-13 · Python >=3.10 · 5 runtime deps: aiodns, async_timeout, cached_ipaddress, ifaddr, pyroute2

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; ARP and PTR lookups depend on network interface access and DNS resolver availability.
  • Low install friction with a pure-Python wheel and five runtime dependencies.
  • The package is actively maintained with a recent release (62 days ago) and supports current Python versions (3.10–3.14).

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions; attribution required.

last release 2026-06-13 (62 days) · last repo commit 2026-08-10 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 159,881 downloads/mo, #10,685 on PyPI

Verify before relying

import asyncio
from aiodiscover import DiscoverHosts

async def main():
    async with DiscoverHosts() as discover_hosts:
        hosts = await discover_hosts.async_discover()
        print(hosts)

asyncio.run(main())
  • Whether aiodns, pyroute2, and ifaddr are available on all target platforms (Windows, macOS, Linux) or have platform-specific limitations.
  • Performance characteristics when scanning large subnets or networks with many hosts.
  • Whether the package requires elevated privileges (root/admin) for ARP operations on all platforms.
Same gist for agents: .md · .json

What it is and 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.

Beyond 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

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.

Install

aiodiscover on PyPI

Before you install

Low install friction with a pure-Python wheel and five runtime dependencies. The package is actively maintained with a recent release (62 days ago) and supports current Python versions (3.10–3.14).

Requires Python 3.10 or later; ARP and PTR lookups depend on network interface access and DNS resolver availability.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions; attribution required.

Quickstart

import asyncio
from aiodiscover import DiscoverHosts

async def main():
    async with DiscoverHosts() as discover_hosts:
        hosts = await discover_hosts.async_discover()
        print(hosts)

asyncio.run(main())

Verify before relying

  • Whether aiodns, pyroute2, and ifaddr are available on all target platforms (Windows, macOS, Linux) or have platform-specific limitations.
  • Performance characteristics when scanning large subnets or networks with many hosts.
  • Whether the package requires elevated privileges (root/admin) for ARP operations on all platforms.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
aiodnsasync_timeoutcached_ipaddressifaddrpyroute2
MaintenanceActively maintained 62 days since the last release
Last repo commit
First released
Downloads159,881 / month, #10,685 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries

Evidence: aiodiscover-3.3.2-py3-none-any.whl

Tags

Capabilities
network host discoveryarp lookup asynclocal network scanningptr reverse dns lookupdiscover devices on networkasync network discoverylan host enumeration
Topics
async-ionetwork-discoveryarp-lookup

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “network host discovery”

  • aiodiscoverDiscovers hosts on a local network by performing ARP and PTR lookups…
  • python-nmapPython wrapper for the nmap port scanner that parses scan results…
  • python3-nmapWraps nmap port scanner commands as Python methods, converting…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also getmac · python-hosts · IP2Location · ipwhois · aiooui · nslookup · aiodns · zeroconf · aioping · python-nmap