The original post: /r/pihole by /u/sbarbett on 2025-02-22 14:40:27.

Hi everyone,

I’ve been tinkering with the latest Pi-hole release and decided to create a lightweight Python wrapper for its API. You can check it out here: pihole6api on GitHub.

Install it with pip:

pip install pihole6api

I’m planning to build some Ansible roles on top of this foundation. If there’s enough interest, I’ll share those as well.

I appreciate any feedback!