You can just apt-install it.
Its pre-alpha, but it might work for you...
https://github.com/time4tea-net/py-hole