Guess gender from first name.
This package is for anyone who wants to speculate the gender given a first name. There is no magic involved, the speculate method simply does a local database lookup.
>>> from gename import Gender >>> gender = Gender() >>> gender.speculate('Bertrand') 'M' >>> gender.speculate('Simone') 'F' >>> gender.speculate('Unicorn') 'U'
U is for Unknown.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.