Name | aiodhcpwatcher JSON |
Version |
1.1.1
JSON |
| download |
home_page | None |
Summary | Watch for DHCP packets with asyncio |
upload_time | 2025-02-22 17:30:08 |
maintainer | None |
docs_url | None |
author | J. Nick Koston |
requires_python | >=3.10 |
license | Apache-2.0 |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# aiodhcpwatcher
<p align="center">
<a href="https://github.com/bluetooth-devices/aiodhcpwatcher/actions/workflows/ci.yml?query=branch%3Amain">
<img src="https://img.shields.io/github/actions/workflow/status/bluetooth-devices/aiodhcpwatcher/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
</a>
<a href="https://aiodhcpwatcher.readthedocs.io">
<img src="https://img.shields.io/readthedocs/aiodhcpwatcher.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
</a>
<a href="https://codecov.io/gh/bluetooth-devices/aiodhcpwatcher">
<img src="https://img.shields.io/codecov/c/github/bluetooth-devices/aiodhcpwatcher.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
</a>
</p>
<p align="center">
<a href="https://python-poetry.org/">
<img src="https://img.shields.io/badge/packaging-poetry-299bd7?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAASCAYAAABrXO8xAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJJSURBVHgBfZLPa1NBEMe/s7tNXoxW1KJQKaUHkXhQvHgW6UHQQ09CBS/6V3hKc/AP8CqCrUcpmop3Cx48eDB4yEECjVQrlZb80CRN8t6OM/teagVxYZi38+Yz853dJbzoMV3MM8cJUcLMSUKIE8AzQ2PieZzFxEJOHMOgMQQ+dUgSAckNXhapU/NMhDSWLs1B24A8sO1xrN4NECkcAC9ASkiIJc6k5TRiUDPhnyMMdhKc+Zx19l6SgyeW76BEONY9exVQMzKExGKwwPsCzza7KGSSWRWEQhyEaDXp6ZHEr416ygbiKYOd7TEWvvcQIeusHYMJGhTwF9y7sGnSwaWyFAiyoxzqW0PM/RjghPxF2pWReAowTEXnDh0xgcLs8l2YQmOrj3N7ByiqEoH0cARs4u78WgAVkoEDIDoOi3AkcLOHU60RIg5wC4ZuTC7FaHKQm8Hq1fQuSOBvX/sodmNJSB5geaF5CPIkUeecdMxieoRO5jz9bheL6/tXjrwCyX/UYBUcjCaWHljx1xiX6z9xEjkYAzbGVnB8pvLmyXm9ep+W8CmsSHQQY77Zx1zboxAV0w7ybMhQmfqdmmw3nEp1I0Z+FGO6M8LZdoyZnuzzBdjISicKRnpxzI9fPb+0oYXsNdyi+d3h9bm9MWYHFtPeIZfLwzmFDKy1ai3p+PDls1Llz4yyFpferxjnyjJDSEy9CaCx5m2cJPerq6Xm34eTrZt3PqxYO1XOwDYZrFlH1fWnpU38Y9HRze3lj0vOujZcXKuuXm3jP+s3KbZVra7y2EAAAAAASUVORK5CYII=" alt="Poetry">
</a>
<a href="https://github.com/ambv/black">
<img src="https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square" alt="black">
</a>
<a href="https://github.com/pre-commit/pre-commit">
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
</a>
</p>
<p align="center">
<a href="https://pypi.org/project/aiodhcpwatcher/">
<img src="https://img.shields.io/pypi/v/aiodhcpwatcher.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
</a>
<img src="https://img.shields.io/pypi/pyversions/aiodhcpwatcher.svg?style=flat-square&logo=python&logoColor=fff" alt="Supported Python versions">
<img src="https://img.shields.io/pypi/l/aiodhcpwatcher.svg?style=flat-square" alt="License">
</p>
---
**Documentation**: <a href="https://aiodhcpwatcher.readthedocs.io" target="_blank">https://aiodhcpwatcher.readthedocs.io </a>
**Source Code**: <a href="https://github.com/bluetooth-devices/aiodhcpwatcher" target="_blank">https://github.com/bluetooth-devices/aiodhcpwatcher </a>
---
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)):
<!-- prettier-ignore-start -->
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- markdownlint-disable -->
<!-- markdownlint-enable -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
<!-- prettier-ignore-end -->
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "aiodhcpwatcher",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "J. Nick Koston",
"author_email": "nick@koston.org",
"download_url": "https://files.pythonhosted.org/packages/76/86/6ec313b8e5128a0fb5c053b53a70f8b585f969d72e6cafc1c460c72ae41d/aiodhcpwatcher-1.1.1.tar.gz",
"platform": null,
"description": "# aiodhcpwatcher\n\n<p align=\"center\">\n <a href=\"https://github.com/bluetooth-devices/aiodhcpwatcher/actions/workflows/ci.yml?query=branch%3Amain\">\n <img src=\"https://img.shields.io/github/actions/workflow/status/bluetooth-devices/aiodhcpwatcher/ci.yml?branch=main&label=CI&logo=github&style=flat-square\" alt=\"CI Status\" >\n </a>\n <a href=\"https://aiodhcpwatcher.readthedocs.io\">\n <img src=\"https://img.shields.io/readthedocs/aiodhcpwatcher.svg?logo=read-the-docs&logoColor=fff&style=flat-square\" alt=\"Documentation Status\">\n </a>\n <a href=\"https://codecov.io/gh/bluetooth-devices/aiodhcpwatcher\">\n <img src=\"https://img.shields.io/codecov/c/github/bluetooth-devices/aiodhcpwatcher.svg?logo=codecov&logoColor=fff&style=flat-square\" alt=\"Test coverage percentage\">\n </a>\n</p>\n<p align=\"center\">\n <a href=\"https://python-poetry.org/\">\n <img src=\"https://img.shields.io/badge/packaging-poetry-299bd7?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAASCAYAAABrXO8xAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJJSURBVHgBfZLPa1NBEMe/s7tNXoxW1KJQKaUHkXhQvHgW6UHQQ09CBS/6V3hKc/AP8CqCrUcpmop3Cx48eDB4yEECjVQrlZb80CRN8t6OM/teagVxYZi38+Yz853dJbzoMV3MM8cJUcLMSUKIE8AzQ2PieZzFxEJOHMOgMQQ+dUgSAckNXhapU/NMhDSWLs1B24A8sO1xrN4NECkcAC9ASkiIJc6k5TRiUDPhnyMMdhKc+Zx19l6SgyeW76BEONY9exVQMzKExGKwwPsCzza7KGSSWRWEQhyEaDXp6ZHEr416ygbiKYOd7TEWvvcQIeusHYMJGhTwF9y7sGnSwaWyFAiyoxzqW0PM/RjghPxF2pWReAowTEXnDh0xgcLs8l2YQmOrj3N7ByiqEoH0cARs4u78WgAVkoEDIDoOi3AkcLOHU60RIg5wC4ZuTC7FaHKQm8Hq1fQuSOBvX/sodmNJSB5geaF5CPIkUeecdMxieoRO5jz9bheL6/tXjrwCyX/UYBUcjCaWHljx1xiX6z9xEjkYAzbGVnB8pvLmyXm9ep+W8CmsSHQQY77Zx1zboxAV0w7ybMhQmfqdmmw3nEp1I0Z+FGO6M8LZdoyZnuzzBdjISicKRnpxzI9fPb+0oYXsNdyi+d3h9bm9MWYHFtPeIZfLwzmFDKy1ai3p+PDls1Llz4yyFpferxjnyjJDSEy9CaCx5m2cJPerq6Xm34eTrZt3PqxYO1XOwDYZrFlH1fWnpU38Y9HRze3lj0vOujZcXKuuXm3jP+s3KbZVra7y2EAAAAAASUVORK5CYII=\" alt=\"Poetry\">\n </a>\n <a href=\"https://github.com/ambv/black\">\n <img src=\"https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square\" alt=\"black\">\n </a>\n <a href=\"https://github.com/pre-commit/pre-commit\">\n <img src=\"https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square\" alt=\"pre-commit\">\n </a>\n</p>\n<p align=\"center\">\n <a href=\"https://pypi.org/project/aiodhcpwatcher/\">\n <img src=\"https://img.shields.io/pypi/v/aiodhcpwatcher.svg?logo=python&logoColor=fff&style=flat-square\" alt=\"PyPI Version\">\n </a>\n <img src=\"https://img.shields.io/pypi/pyversions/aiodhcpwatcher.svg?style=flat-square&logo=python&logoColor=fff\" alt=\"Supported Python versions\">\n <img src=\"https://img.shields.io/pypi/l/aiodhcpwatcher.svg?style=flat-square\" alt=\"License\">\n</p>\n\n---\n\n**Documentation**: <a href=\"https://aiodhcpwatcher.readthedocs.io\" target=\"_blank\">https://aiodhcpwatcher.readthedocs.io </a>\n\n**Source Code**: <a href=\"https://github.com/bluetooth-devices/aiodhcpwatcher\" target=\"_blank\">https://github.com/bluetooth-devices/aiodhcpwatcher </a>\n\n---\n\nWatch for DHCP packets with asyncio\n\n## Installation\n\nInstall this via pip (or your favourite package manager):\n\n`pip install aiodhcpwatcher`\n\n## Usage\n\n```python\nimport asyncio\nimport aiodhcpwatcher\n\ndef _async_process_dhcp_request(response: aiodhcpwatcher.DHCPRequest) -> None:\n print(response)\n\nasync def run():\n cancel = await aiodhcpwatcher.async_start(_async_process_dhcp_request)\n await asyncio.Event().wait()\n\nasyncio.run(run())\n```\n\n## Contributors \u2728\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- prettier-ignore-start -->\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- markdownlint-disable -->\n<!-- markdownlint-enable -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n<!-- prettier-ignore-end -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n## Credits\n\nThis package was created with\n[Copier](https://copier.readthedocs.io/) and the\n[browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)\nproject template.\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Watch for DHCP packets with asyncio",
"version": "1.1.1",
"project_urls": {
"Bug Tracker": "https://github.com/bluetooth-devices/aiodhcpwatcher/issues",
"Changelog": "https://github.com/bluetooth-devices/aiodhcpwatcher/blob/main/CHANGELOG.md",
"Documentation": "https://aiodhcpwatcher.readthedocs.io",
"Repository": "https://github.com/bluetooth-devices/aiodhcpwatcher"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "3d3512269684c2b47191123291490b0379915fde12119a5a0110ad246b7c2cca",
"md5": "30cb87bf1815115ae18949c489eeb777",
"sha256": "4c4b54e6c6e0eff87135da637e99091fcd5a1a895f03ea261e5b2d32c18c8247"
},
"downloads": -1,
"filename": "aiodhcpwatcher-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "30cb87bf1815115ae18949c489eeb777",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 10409,
"upload_time": "2025-02-22T17:30:06",
"upload_time_iso_8601": "2025-02-22T17:30:06.495383Z",
"url": "https://files.pythonhosted.org/packages/3d/35/12269684c2b47191123291490b0379915fde12119a5a0110ad246b7c2cca/aiodhcpwatcher-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "76866ec313b8e5128a0fb5c053b53a70f8b585f969d72e6cafc1c460c72ae41d",
"md5": "d946ac1d2078588540945318b5e61d1d",
"sha256": "d9c74f627a1f0426dadba9c80bdf83c29a962741f6a97565136aaf17cc3f2ae7"
},
"downloads": -1,
"filename": "aiodhcpwatcher-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "d946ac1d2078588540945318b5e61d1d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 10604,
"upload_time": "2025-02-22T17:30:08",
"upload_time_iso_8601": "2025-02-22T17:30:08.599847Z",
"url": "https://files.pythonhosted.org/packages/76/86/6ec313b8e5128a0fb5c053b53a70f8b585f969d72e6cafc1c460c72ae41d/aiodhcpwatcher-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-22 17:30:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bluetooth-devices",
"github_project": "aiodhcpwatcher",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "aiodhcpwatcher"
}