Client for Genderize.io web service.
Basic usage
Import the Genderize class and call its get method with a list of names.
from genderize import Genderize print Genderize().get(['James', 'Eva', 'Thunderhorse'])
[{u'count': 1037, u'gender': u'male', u'name': u'James', u'probability': 0.99},
{u'count': 234, u'gender': u'female', u'name': u'Eva', u'probability': 1.0},
{u'gender': None, u'name': u'Thunderhorse'}]
Shell usage
If run as a script, takes a list of names on stdin, and prints them with their genders.
echo "James\nEva\nThunderhorse" | python -m genderize
James: male Eva: female Thunderhorse: None
Metadata
Release files for Genderize 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Genderize-0.1.1.tar.gz | 2.6 kB | Details |
Release files / Genderize-0.1.1.tar.gz
| Download URL | Genderize-0.1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dab1b402e37aabf8d3168c50bf6a282d8e3898aa8e96f5ab104308496e0895b
|
|
BLAKE2b-256 checksum How to use checksums |
6644c8fb0a718be951a228c6c718b79072864293fd8e294fb79d14f69f25ee0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |