Skip to main content

Gender detection library

Project description

# 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.md.

# Datasets

# How to use it

Nothing too fancy, just install:

pip install gender-detector

And then:

`python 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gender-detector, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size gender-detector-0.0.4.tar.gz (4.1 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page