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
UK, from OpenGenderTracking project
US, from OpenGenderTracking project
AR, from Names query site from the goverment of the City of Buenos Aires. this is a small sample, use with precaution!.
UY, from Civil registry) in Montevideo. Same as in AR, Use with precaution!
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
Metadata
Release files for gender-detector 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gender-detector-0.1.0.tar.gz | 1.9 MB | Without provenance | Details |
Release files / gender-detector-0.1.0.tar.gz
| Download URL | gender-detector-0.1.0.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e77ae49b3681b4ef192139ef0fb1cbdefbc3bfa515938d317b440f5fc7c7745
|
|
BLAKE2b-256 checksum How to use checksums |
71c1172b7dcd81e867488cf0fbc56d9f10a2a802669f0a18cafb5a368077b0d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gender-detector 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.