Python API for interacting with Pi-Hole.
Python API for interacting with a Pi-Hole instance.
This module is not official, developed, supported or endorsed by Pi-hole LLC.
The module is available from the Python Package Index.
$ pip3 install pihole
The file example.py contains an example about how to use this module.
For development is recommended to use a venv.
$ python3.6 -m venv . $ source bin/activate $ python3 setup.py develop
python-pihole is licensed under MIT, for more details check LICENSE.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.