aiodhcpwatcher
Watch for DHCP packets with asyncio
Decision gist · record as of 2026-08-14
Yes, if you need asyncio-based DHCP packet monitoring. The package is actively maintained, has low install friction, uses a permissive license, and supports current Python versions. Pre-alpha status suggests it is still maturing, but no known vulnerabilities exist. Best suited for developers building network monitoring or device discovery features in async Python applications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; scapy may need system-level network access or elevated privileges to capture DHCP packets.
- Low friction install with a single runtime dependency.
- Actively maintained with recent commits; marked pre-alpha but supports current Python versions.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2026-05-25 (81 days) · last repo commit 2026-08-10 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 96,126 downloads/mo, #13,228 on PyPI
Alternatives
Verify before relying
pip install aiodhcpwatcher
import asyncio
import aiodhcpwatcher
async def handle_dhcp(response: aiodhcpwatcher.DHCPRequest) -> None:
print(response)
async def run():
cancel = await aiodhcpwatcher.async_start(handle_dhcp)
await asyncio.Event().wait()
asyncio.run(run())- Whether elevated privileges (root/admin) are required to capture DHCP packets on all platforms.
- Scope and filtering capabilities for DHCP packet selection beyond basic monitoring.
- Performance characteristics when handling high-volume DHCP traffic.
What it is and what it does
aiodhcpwatcher is a Python library that monitors DHCP packets on your network using asyncio, the standard Python async framework. It wraps scapy to listen for DHCP traffic and invoke a callback whenever a DHCP packet arrives. The library is designed for developers who need to react to DHCP events in async Python applications—for example, detecting when devices join a network or tracking DHCP lease activity.
The package is in pre-alpha status but actively maintained and supports Python 3.10 through 3.14. Installation is straightforward with low friction, and the API is minimal: you provide an async callback and call async_start() to begin listening. The single runtime dependency is scapy, which handles the actual packet capture.
Use it for
- Monitor a local network for new device connections by watching DHCP request packets.
- Track DHCP lease renewals and expirations for network diagnostics or device lifecycle management.
- Integrate DHCP monitoring into an async Python service that needs to react to network events in real time.
- Build a network discovery tool that logs DHCP activity for audit or troubleshooting purposes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need asyncio-based DHCP packet monitoring.
The package is actively maintained, has low install friction, uses a permissive license, and supports current Python versions. Pre-alpha status suggests it is still maturing, but no known vulnerabilities exist. Best suited for developers building network monitoring or device discovery features in async Python applications.
Install
aiodhcpwatcher on PyPI
Before you install
Low friction install with a single runtime dependency. Actively maintained with recent commits; marked pre-alpha but supports current Python versions.
Requires Python 3.10 or later; scapy may need system-level network access or elevated privileges to capture DHCP packets.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install aiodhcpwatcher
import asyncio
import aiodhcpwatcher
async def handle_dhcp(response: aiodhcpwatcher.DHCPRequest) -> None:
print(response)
async def run():
cancel = await aiodhcpwatcher.async_start(handle_dhcp)
await asyncio.Event().wait()
asyncio.run(run())
Verify before relying
- Whether elevated privileges (root/admin) are required to capture DHCP packets on all platforms.
- Scope and filtering capabilities for DHCP packet selection beyond basic monitoring.
- Performance characteristics when handling high-volume DHCP traffic.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagescapy |
| Maintenance | Actively maintained 81 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 96,126 / month, #13,228 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended 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: aiodhcpwatcher-1.2.7-py3-none-any.whl
Tags
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 › “dhcp packet monitoring”
- aiodhcpwatcherWatches for DHCP packets on the network using asyncio, allowing you…
- isc-dhcp-leasesReads and parses ISC DHCP server lease files (dhcpd.leases) for both…
- pmd-net-protoParses, assembles, and validates network protocol packets (Ethernet…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
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.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
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.
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.
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.
See also aiohappyeyeballs · aiousbwatcher · aiooui · aiovlc · aiozoneinfo · aiovodafone · kantoku · greeneye_monitor · pyenphase · aiopnsense