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.

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

Project details


Download files

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

Source Distribution

gender-detector-0.1.0.tar.gz (1.9 MB view details)

Uploaded Source

File details

Details for the file gender-detector-0.1.0.tar.gz.

File metadata

File hashes

Hashes for gender-detector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e77ae49b3681b4ef192139ef0fb1cbdefbc3bfa515938d317b440f5fc7c7745
MD5 c5fbc6addc5d6b92cde2ea78c9cfb5a5
BLAKE2b-256 71c1172b7dcd81e867488cf0fbc56d9f10a2a802669f0a18cafb5a368077b0d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page