import pgpy
def get_email(target):
  ra = requests.get(f'https://www.keybase.io/%7Btarget%7D/pgp_keys.asc%27).text
  key,_ = pgpy.PGPKey.from_blob(ra)
  # nothing illegal
get_email(input('target'))