![]() IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,įITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR The above copyright notice and this permission notice shall be included in allĬopies or substantial portions of the Software. To use, copy, modify, merge, publish, distribute, sublicense, and/or sellĬopies of the Software, and to permit persons to whom the Software isįurnished to do so, subject to the following conditions: In the Software without restriction, including without limitation the rights Of this software and associated documentation files (the "Software"), to deal Permission is hereby granted, free of charge, to any person obtaining a copy The original setup of this repository is by Franck Nijhof.įor a full list of all authors and contributors, To run just the Python tests: poetry run pytest AdGuard AdBlocker effectively blocks all types of advertising on all web pages, even on Facebook, YouTube, and others What AdGuard AdBlocker does: Blocks all ads: video ads (includes YouTube adblock), rich media advertising, unwanted pop-ups (pop-up blocker), banners and text ads (includes Facebook adblock) Speeds up. Manually, using the following command: poetry run pre-commit run -all-files To install all packages, including all development requirements: npm installĪs this repository uses the pre-commit framework, all changesĪre linted and tested with each commit. But also relies on the use of NodeJS for certain checks during This Python project is fully managed using the Poetry dependency Thank you for being involved! :heart_eyes: Setting up development environment PATCH: Backwards-compatible bugfixes and package updates.MINOR: Backwards-compatible new features and enhancements.In a nutshell, the version will be incremented Releases are based on Semantic Versioning, and use the format This repository keeps a change log using GitHub's releasesįunctionality. run_until_complete ( main ()) Changelog & Releases ![]() enable_protection () if _name_ = "_main_" : loop = asyncio. protection_enabled () active = "Yes" if active else "No" print ( "Protection enabled?", active ) if not active : print ( "AdGuard Home protection disabled. version () print ( "AdGuard version:", version ) active = await adguard. Usage from adguardhome import AdGuardHome import asyncio async def main (): """Show example how to get status of your AdGuard Home instance.""" async with AdGuardHome ( "192.168.1.2" ) as adguard : version = await adguard. It is mainly created to allow third-party programs to automateĪn excellent example of this might be Home Assistant, which allows you to writeĪutomations, to turn on parental controls when the kids get home. This package allows you to control and monitor an AdGuard Home instance Asynchronous Python client for the AdGuard Home API. ![]()
0 Comments
Leave a Reply. |