AdguardSync
This script syncs the DNS-Rewrite list with the given config file.
Example:
>>> from adguard_sync import AdguardSync
>>> AdguardSync('config.yml')
Configuration File:
---
adguards:
- hostname: https://10.0.0.3
username: adguard
password: adguard_pass
verify_ssl: False # (Optional, default = True)
- hostname: https://10.0.0.4
username: adguard
password: adguard_pass
dns_records:
- domain: adguard.test
address: 10.0.0.3
- domain: adguard2.test
address: 10.0.0.4
Metadata
Release files for adguard-sync 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| adguard-sync-1.0.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adguard_sync-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / adguard-sync-1.0.tar.gz
| Download URL | adguard-sync-1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a55d7b6c35ba4fb34cc9dae7323de6b11efb2b149f2a04870f4e03a7448665a
|
|
BLAKE2b-256 checksum How to use checksums |
82fa47356a919f19fab666c7a0f5bf2ff9d93ba9b64d358132c6371e15989e46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / adguard_sync-1.0-py3-none-any.whl
| Download URL | adguard_sync-1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56ccd237160c95c36428e40f2224a263c3f0364a748bdb35194e5d5cd2fd47d3
|
|
BLAKE2b-256 checksum How to use checksums |
f0d21ee606bf1d679fdaf45e0feaeb923876397557401c55a0141001c307727d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for adguard-sync 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.