Library for guessing a person's gender by their first name.
Python
Latest commit fcacb22 Jul 27, 2015 @malev CI will work with py3 as well
Permalink
Failed to load latest commit information.
conda.recipe Bump version to 0.1.0 Jul 27, 2015
gender_detector
.binstar.yml CI will work with py3 as well Jul 27, 2015
.gitignore Ignore osx files May 9, 2014
LICENSE Initial commit May 9, 2014
MANIFEST Bump to version 0.0.6 Nov 27, 2014
MANIFEST.in Bump to version 0.0.6 Nov 27, 2014
PKG-INFO Release version 0.0.4 May 13, 2014
README.rst Switch from md to rst the README Nov 27, 2014
setup.py Styling fixes Jul 27, 2015

README.rst

Gender Detector

Gender detector is a Python library for guessing a person's gender by his/her first name. This library is based on [beauvoir](https://github.com/jeremybmerrill/beauvoir) with support for United States, United Kingdom, Argentina and Uruguay.

This is still in beta stages, use with precaution

© 2014 Marcos Vanetta. Available under GPL2 License. See LICENSE.

Datasets

How to use it

Nothing too fancy, just install:

pip install gender-detector

And then:

from gender_detector import GenderDetector
detector = GenderDetector('us') # It can also be ar, uk, uy.
detector.guess('Marcos') # => 'male'

TODO:

  • Add information about statistics
  • Better datasets