Metadata-Version: 2.4 Name: aiodhcpwatcher Version: 1.2.7 Summary: Watch for DHCP packets with asyncio License-Expression: Apache-2.0 License-File: LICENSE Author: J. Nick Koston Author-email: nick@koston.org Requires-Python: >=3.10 Classifier: Development Status :: 2 - Pre-Alpha Classifier: Intended Audience :: Developers Classifier: Natural Language :: English Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3.13 Classifier: Programming Language :: Python :: 3.14 Classifier: Topic :: Software Development :: Libraries Requires-Dist: scapy (>=2.7.0) Project-URL: Bug Tracker, https://github.com/bluetooth-devices/aiodhcpwatcher/issues Project-URL: Changelog, https://github.com/bluetooth-devices/aiodhcpwatcher/blob/main/CHANGELOG.md Project-URL: Documentation, https://aiodhcpwatcher.readthedocs.io Project-URL: Repository, https://github.com/bluetooth-devices/aiodhcpwatcher Description-Content-Type: text/markdown # aiodhcpwatcher

CI Status Documentation Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License

--- **Documentation**: https://aiodhcpwatcher.readthedocs.io **Source Code**: https://github.com/bluetooth-devices/aiodhcpwatcher --- Watch for DHCP packets with asyncio ## Installation Install this via pip (or your favourite package manager): `pip install aiodhcpwatcher` ## Usage ```python import asyncio import aiodhcpwatcher def _async_process_dhcp_request(response: aiodhcpwatcher.DHCPRequest) -> None: print(response) async def run(): cancel = await aiodhcpwatcher.async_start(_async_process_dhcp_request) await asyncio.Event().wait() asyncio.run(run()) ``` ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! ## Credits This package was created with [Copier](https://copier.readthedocs.io/) and the [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template) project template.