Skip to main content

Guess gender from first name.

Project description

Summary

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.

Usage

>>> from gename import Gender
>>> gender = Gender()
>>> gender.speculate('Bertrand')
'M'
>>> gender.speculate('Simone')
'F'
>>> gender.speculate('Unicorn')
'U'

U is for Unknown.

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

gename-0.0.7.tar.gz (2.2 MB view hashes)

Uploaded source

Supported by

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