dnstk is a toolkit for building DNS clients and servers in Python.
dnstk includes its own client which works similar to dig:
$ dnstk-cli ddg.gg Response code: NOERROR Question section ddg.gg IN A Answer section ddg.gg IN A 208.94.146.80 ddg.gg IN A 208.94.146.81 ddg.gg IN A 208.94.146.70 ddg.gg IN A 208.94.146.71