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.2
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.2.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Genderize-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 8.1 kB
Release files / Genderize-0.1.2.tar.gz
| Download URL | Genderize-0.1.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ed5e018d75e8d0bfaef4d8f88cfdd1a8deb56a15a5a8eb4428148588e482091
|
|
BLAKE2b-256 checksum How to use checksums |
974f6e7f990ab2072ef3cd85775b4ab8c6bff52e8bcd1f2bf92530a1ed412384
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Genderize-0.1.2-py2.py3-none-any.whl
| Download URL | Genderize-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cb44a956c4942b509808a26262d4141411c34ae8fd7e2de9bb75617adc350ee5
|
|
BLAKE2b-256 checksum How to use checksums |
5af1a4ee49d370800978f8ece9b32c48dc1420c5a1cb1b6569cd209e4962a030
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |