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 details)

Uploaded Source

File details

Details for the file gename-0.0.7.tar.gz.

File metadata

  • Download URL: gename-0.0.7.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for gename-0.0.7.tar.gz
Algorithm Hash digest
SHA256 f12352cc4f42765a6ac1e32223643bc2a244a00668bc833f5e10f80b5bdc6c8c
MD5 d2cb18a446a189acd31bf756a988e774
BLAKE2b-256 f094e751bb316fcdde3fc632b61289ced78e43f1adc5688dc8a9aa7021645210

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