Python pi-hole

Open-source Python projects categorized as pi-hole

Top 16 Python pi-hole Projects

  • whitelist

    A simple tool to add commonly white listed domains to your Pi-Hole setup.

    Project mention: Pihole database corrupted, -2 domains on adlist | /r/pihole | 2023-07-08

    I don't know if it's related, but a few weeks ago I installed this For a while I didn't notice anything strange. Then a few days ago I noticed the same as you: -2 Domains on Adlists.

  • pihole-regex

    Custom regex filter list for use with Pi-hole.

    Project mention: Important Update: Changes to Blocklist Syntax Support | /r/oisd_blocklist | 2023-03-16

    There are wrappers for updating regex lists that can be modified with other URLs. This was floating around for a while: and this is another method: With enough regex tweaking I bet you could shave at least tens of thousands of lines off your list, and it could be divided into regex entries for domains where it makes sense, with the rest being non-regex domain entries. Simple regex that is functionally equivalent to AdBlock style wildcard blocks won't notably bog down the system either. It might take a few hours to get a workflow going to streamline producing such a list, but it can be done.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • no-google

    Completely block Google and its services

    Project mention: Is there a filter or otherwise a way to block all google domains except YouTube? | /r/Adguard | 2023-05-12


  • Monitoring

    Monitor ESXi, Synology, Docker, PiHole and Raspberry Pi and Windows using Grafana, InfluxDB and Telegraf (by chvvkumar)

  • Pi-Hole-Monitoring

    Monitoring Pi-Hole statistics with Grafana

    Project mention: Is there any "customize web interface" before? | /r/pihole | 2022-12-20

    I was planning to use grafana and seek this link.

  • pi-hole-influx

    A python daemon to send Pi-Hole stats for Grafana to InfluxDB

  • pihole-dashboard

    Minimal and clean dashboard to visualize some stats of Pi-Hole with an E-Ink display attached to your Raspberry Pi

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • no-amazon

    Completely block Amazon and its services

  • PSS

    Pi-hole SafeSearch (PSS)

  • pihole-regex

    Custom RegEx, Exact, and Adlist filters for Pi-hole's FTLDNS (by slyfox1186)

  • emerging-threats-pihole

    Block malware on your network using your PiHole, using threat intelligence extracted from Emerging Threats rulesets.

    Project mention: New blocklist to help you block malware, phishing, & other badness using PiHole | /r/pihole | 2023-02-12

    For folks curious in how it works under the hood, here's my GitHub repo which has more info, an FAQ about the project, etc. I'm still working on this and similar things when I can (aaa so many things to do) but please leave any feedback/suggestions, I'm more of a security goon and this is the first time I'm creating a PiHole blocklist, so while I hope it's 'pretty good' there are certainly things to do to improve!

  • pihole-blocklists

    A list of messaging, social media and vpn site domain in the pi-hole block list format (by nickoppen)

  • Inversion-DNSBL-Generator

    Generate malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole by scanning various public URL sources using the Safe Browsing API from Google and/or Yandex.

  • Blocklists

    Blocklists for Pi-hole (by jaykepeters)

  • Pihole-404

    A nice 404 page for pihole with an added automatic script that can be used to whitelist the domain with the click of a button.

  • pi-hole_einkt

    Personal Pi-hole configuration with blocklists and Inky pHAT display code

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-07-08.

Python pi-hole related posts


What are some of the best open-source pi-hole projects in Python? This list will help you:

Project Stars
1 whitelist 3,978
2 pihole-regex 1,269
3 no-google 1,105
4 Monitoring 628
5 Pi-Hole-Monitoring 255
6 pi-hole-influx 146
7 pihole-dashboard 119
8 no-amazon 47
9 PSS 46
10 pihole-regex 44
11 emerging-threats-pihole 37
12 pihole-blocklists 28
13 Inversion-DNSBL-Generator 16
14 Blocklists 13
15 Pihole-404 10
16 pi-hole_einkt 8
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives