import gender_guesser.detector as gender d = gender.Detector() print(d.get_gender(u"Bob")) male print(d.get_gender(u"Sally")) female print(d.get_gender(u"Pauley")) # should be androgynous andy