adguardhome
Asynchronous Python client for the AdGuard Home API.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and fills a specific need for AdGuard Home automation. It is suitable for anyone building integrations with AdGuard Home or home-automation workflows. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; AdGuard Home instance must be accessible at the provided network address.
- Low friction installation with only two runtime dependencies (aiohttp and yarl).
- Actively maintained as of 2025-11-16 with recent commits; supports current Python versions (3.11+).
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2025-11-16 (271 days) · last repo commit 2026-04-16 · 116 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,081 downloads/mo, #14,877 on PyPI
Alternatives
Verify before relying
pip install adguardhome
from adguardhome import AdGuardHome
import asyncio
async def main():
async with AdGuardHome("192.168.1.2") as adguard:
version = await adguard.version()
print("AdGuard version:", version)
active = await adguard.protection_enabled()
if not active:
await adguard.enable_protection()
asyncio.run(main())- Whether authentication (username/password or API key) is required to connect to AdGuard Home instances.
- Full scope of available API methods beyond version(), protection_enabled(), and enable_protection().
- Whether the client supports AdGuard Home's DNS filtering rules, blocklists, or custom filtering configuration.
What it is and what it does
This package provides an async Python interface to AdGuard Home, a network-wide DNS filtering and ad-blocking service. It lets you query the status of an AdGuard Home instance and control its protection settings programmatically—checking whether protection is enabled, toggling it on or off, and retrieving version information. The library is built on aiohttp for non-blocking network I/O, making it suitable for integration into automation frameworks and home-automation platforms.
The primary use case is enabling third-party applications to automate AdGuard Home behavior based on events or conditions—for example, automatically enabling parental controls when children arrive home, or disabling protection during maintenance windows. It abstracts away the HTTP API details, offering a clean async/await interface for developers building integrations.
Use it for
- Automate parental controls in AdGuard Home based on time-of-day or presence detection events.
- Monitor AdGuard Home protection status and alert when DNS filtering is disabled.
- Integrate AdGuard Home control into home-automation platforms like Home Assistant.
- Programmatically toggle protection on or off based on network conditions or user actions.
- Query AdGuard Home version and status as part of a network health-check routine.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive MIT license, and fills a specific need for AdGuard Home automation. It is suitable for anyone building integrations with AdGuard Home or home-automation workflows. No known security vulnerabilities.
Install
adguardhome on PyPI
Before you install
Low friction installation with only two runtime dependencies (aiohttp and yarl). Actively maintained as of 2025-11-16 with recent commits; supports current Python versions (3.11+).
Requires Python 3.11 or later; AdGuard Home instance must be accessible at the provided network address.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install adguardhome
from adguardhome import AdGuardHome
import asyncio
async def main():
async with AdGuardHome("192.168.1.2") as adguard:
version = await adguard.version()
print("AdGuard version:", version)
active = await adguard.protection_enabled()
if not active:
await adguard.enable_protection()
asyncio.run(main())
Verify before relying
- Whether authentication (username/password or API key) is required to connect to AdGuard Home instances.
- Full scope of available API methods beyond version(), protection_enabled(), and enable_protection().
- Whether the client supports AdGuard Home's DNS filtering rules, blocklists, or custom filtering configuration.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaiohttpyarl |
| Maintenance | Actively maintained 271 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,081 / month, #14,877 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: AsyncIOIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules |
Evidence: adguardhome-0.8.1-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 › “adguard home api client”
- adguardhomeAsynchronous Python client library for controlling and monitoring…
- aiohasupervisorAsynchronous Python client library for communicating with Home…
- pyfibaroProvides a Python client library to interact with Fibaro home…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also wled · python-bsblan · gotailwind · vultr · pysmartthings · tailscale · p1monitor · psutil-home-assistant · elgato · aiowithings