Client for Genderize.io web service.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Genderize-0.1.3.tar.gz
(3.9 kB
view hashes)
Built Distributions
Close
Hashes for Genderize-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3372cb4975754095979c1e3c4326acbb326dabe502cc65438250d12dcdfb9fd8 |
|
MD5 | 6fb958ca6e0303291654f3cede6c94db |
|
BLAKE2b-256 | d91f02239cdc313b35aef2a36fd363ffc23e2fd9f5ded348d44c4d43c1921935 |
Close
Hashes for Genderize-0.1.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551615a79c3aa6ee27018d3bee3386a43e211d44ceec7d3d58cba826e2df2318 |
|
MD5 | 60f4106e6137fece40aeca4ccffa1cb6 |
|
BLAKE2b-256 | 170ab9e36c21d9ea575dcf58ec9210c73c2487c84d9e992fbaf90bbafd6c68d5 |