Skip to main content

Python API for interacting with *hole.

Project description

Python API for interacting with a xyz-hole instance. You know the thing that is blocking Ads by manipulating your DNS requests and run on your single board computer or on other hardware with different operating systems.

This module is consuming the details provided by the endpoint api.php only for now.

If you wonder why the weird name and that the usage of xzy-hole instead of the real name, please contact the trademark holder. They were unhappy with original name of the module and came up with very funny ideas which were not feasible or match the existing naming standards. Also, it should remind us that a community is a vital part of every Open Source project.

This module is not supported or endorsed by that particular trademark holder. The development happens independently, they are not providing resources and the module may no longer work if they breaking their API endpoint.

Installation

The module is available from the Python Package Index.

$ pip3 install hole

On a Fedora-based system.

$ sudo dnf -y install python-hole

For Nix or NixOS is pre-packed module available. The lastest release is usually present in the unstable channel.

$ nix-env -iA nixos.python3Packages.hole

Usage

The file example.py contains an example about how to use this module.

Roadmap

There are more features on the roadmap but there is no ETA because I prefer to support Open Source projects were third party contributions are appreciated.

License

python-hole is licensed under MIT, for more details check LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hole-0.7.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

hole-0.7.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file hole-0.7.0.tar.gz.

File metadata

  • Download URL: hole-0.7.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.0

File hashes

Hashes for hole-0.7.0.tar.gz
Algorithm Hash digest
SHA256 c99a7319f07945359a467d83993f9c6d20c2d292f5e85c9473436bfd5e939615
MD5 a75953ba546f89244ba7974a3589eba8
BLAKE2b-256 4830b9c8207e4fab8f6b26ff903066ec2a150fdb373335fc71d779b06ef522ca

See more details on using hashes here.

File details

Details for the file hole-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: hole-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.0

File hashes

Hashes for hole-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 caab8f3c16acd08e004a058381109c5f8f07d2b798a8c483352f5844ba0ea784
MD5 7612676a2a745353222a66b483e2fc08
BLAKE2b-256 b533e4e221bbcb1ab8f27dff27be843e887fea90e3ac39e3c64dd5bc3ec5e300

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page