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.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 | |
|---|---|---|---|
| Genderize-0.1.0.tar.gz | 2.5 kB | Details |
Release files / Genderize-0.1.0.tar.gz
| Download URL | Genderize-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a166e25a04ecd2ef188dbe7c0e470d0773a7d430d3819f659883f1c3aeab5b24
|
|
BLAKE2b-256 checksum How to use checksums |
932a74585b6179ff4f8e61bbad02901150fdca66305c0d68d015eddcdfc08b72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |