Skip to content

Instantly share code, notes, and snippets.

@sergray
Created November 13, 2020 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergray/91f9eb4ca93340d893e36cf007926977 to your computer and use it in GitHub Desktop.
Save sergray/91f9eb4ca93340d893e36cf007926977 to your computer and use it in GitHub Desktop.
test_querycontacts.py
import querycontacts
import dns
import sys
import socket
print('sys.version:', sys.version)
print(querycontacts, getattr(querycontacts, '__version__', None))
print(dns, getattr(dns, '__version__', None))
querycontacts.ContactFinder().find(socket.gethostbyname('google.nl'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment