{"id":20487939,"url":"https://github.com/steelpangolin/genderize","last_synced_at":"2025-08-20T18:32:24.692Z","repository":{"id":15064820,"uuid":"17791071","full_name":"SteelPangolin/genderize","owner":"SteelPangolin","description":"Python client for the Genderize.io web service.","archived":false,"fork":false,"pushed_at":"2020-02-27T07:09:22.000Z","size":43,"stargazers_count":76,"open_issues_count":0,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-10T12:50:27.724Z","etag":null,"topics":["api-client","gender-classification","gender-from-name","python"],"latest_commit_sha":null,"homepage":"https://bat-country.us/#genderize","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SteelPangolin.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-16T03:16:18.000Z","updated_at":"2024-10-16T12:50:01.000Z","dependencies_parsed_at":"2022-07-16T11:30:37.123Z","dependency_job_id":null,"html_url":"https://github.com/SteelPangolin/genderize","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteelPangolin%2Fgenderize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteelPangolin%2Fgenderize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteelPangolin%2Fgenderize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteelPangolin%2Fgenderize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SteelPangolin","download_url":"https://codeload.github.com/SteelPangolin/genderize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230445926,"owners_count":18227060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","gender-classification","gender-from-name","python"],"created_at":"2024-11-15T16:53:50.556Z","updated_at":"2024-12-19T14:06:54.323Z","avatar_url":"https://github.com/SteelPangolin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Genderize\n---------\n\nClient for the `Genderize.io \u003chttps://genderize.io/\u003e`_ web service.\n\n.. image:: https://img.shields.io/github/license/steelpangolin/genderize.svg?style=flat\n  :target: https://github.com/SteelPangolin/genderize\n\n.. image:: https://img.shields.io/pypi/v/Genderize.svg?style=flat\n  :target: https://pypi.python.org/pypi/Genderize\n\n.. image:: https://img.shields.io/travis/SteelPangolin/genderize.svg?style=flat\n  :target: https://travis-ci.org/SteelPangolin/genderize\n\n.. image:: https://img.shields.io/codecov/c/github/SteelPangolin/genderize.svg?style=flat\n  :target: https://codecov.io/gh/SteelPangolin/genderize\n\n.. image:: https://readthedocs.org/projects/genderize/badge/?style=flat\n  :target: https://genderize.readthedocs.org/\n\n\nBasic usage\n-----------\n\nImport the ``Genderize`` class and call its ``get`` method with a list of names.\n\n::\n\n    from genderize import Genderize\n    print(Genderize().get(['James', 'Eva', 'Thunderhorse']))\n\n::\n\n    [{u'count': 1037, u'gender': u'male', u'name': u'James', u'probability': 0.99},\n     {u'count': 234, u'gender': u'female', u'name': u'Eva', u'probability': 1.0},\n     {u'gender': None, u'name': u'Thunderhorse'}]\n\n\nShell usage\n-----------\n\nIf run as a script, takes a list of names on stdin, and prints them with their genders.\n\n::\n\n    echo \"James\\nEva\\nThunderhorse\" | python -m genderize\n\n::\n\n    James: male\n    Eva: female\n    Thunderhorse: None\n\n\nAdvanced usage\n--------------\n\nCreate a ``Genderize`` instance with a custom user agent,\nan `API key \u003chttps://store.genderize.io/\u003e`_,\nand a shorter timeout than the default 30 seconds.\nNote that you'll need to use your own API key or this example won't work.\n\n::\n\n    from genderize import Genderize\n    genderize = Genderize(\n        user_agent='GenderizeDocs/0.0',\n        api_key='example_api_key',\n        timeout=5.0)\n    print(genderize.get(['James', 'Eva', 'Thunderhorse']))\n\n::\n\n    [{u'count': 1037, u'gender': u'male', u'name': u'James', u'probability': 0.99},\n     {u'count': 234, u'gender': u'female', u'name': u'Eva', u'probability': 1.0},\n     {u'gender': None, u'name': u'Thunderhorse'}]\n\n\nMaintenance\n-----------\n\nSetup for local development:\n\n::\n\n    virtualenv --prompt '(genderize) ' venv -p python3\n    pip install -r requirements.txt\n    pip install -r requirements-dev.txt\n\n\nRelease checklist:\n\n#. Generate a new version number: ``major.minor.micro``. It should be compatible with both `PEP 440 \u003chttps://www.python.org/dev/peps/pep-0440/\u003e`_ and `SemVer 2.0.0 \u003chttps://semver.org/\u003e`_.\n#. Update ``__version__`` in ``genderize/__init__.py``. This is read by ``setup.py`` and doesn't need to be changed there.\n#. Add a changelog entry and date for the new version in ``CHANGES.rst``.\n#. Commit the changes. This may be done as part of another change.\n#. Tag the commit with ``git tag major.minor.micro``.\n#. Push the tag to GitHub with ``git push origin major.minor.micro``.\n#. Travis will create a new PyPI release from the tag.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteelpangolin%2Fgenderize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteelpangolin%2Fgenderize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteelpangolin%2Fgenderize/lists"}