Gender extractor
Gender extractor is a tool that tries to guess the gender of a person given a name.
I agree - there are already many projects like that, and most of them are written better (especially considering the fact that I've spent whooping 30 minutes on this one, most of which was focused on fighting the paths), but somehow I couldn't find anything on MIT license. However, if the licensing is not your concern, I invite you to use anything else (for example the greatly done https://github.com/tue-mdse/genderComputer).
So, here it is - a name-to-gender extractor on an MIT license.
Usage
>>> from gender_extractor import GenderExtractor
>>> ext = GenderExtractor()
>>> print(ext.extract_gender("Andrea"))
female
>>> print(ext.extract_gender("Andrea", "Italy"))
mostly male
Database
The database of the names was taken from the https://github.com/tue-mdse/genderComputer project, in which it was published under the Open Database License.
Metadata
Release files for gender-extractor 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gender_extractor-0.1.3.tar.gz | 2.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gender_extractor-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 MB
Release files / gender_extractor-0.1.3.tar.gz
| Download URL | gender_extractor-0.1.3.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d3d100c29abfd49098efe58fa86d0f013aafc483bd65928cd0c338320dc58b4
|
|
BLAKE2b-256 checksum How to use checksums |
00c69fd70cb06bfffd988da7da1f7399bc5ecd74002ace891a9826f16ea57cea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.9
|
Release files / gender_extractor-0.1.3-py3-none-any.whl
| Download URL | gender_extractor-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c80e0070f9bc4b673b09ec1e0ba3975bbf9863484148d986e14dd981367982a
|
|
BLAKE2b-256 checksum How to use checksums |
405c58ae8103f4d96582feb393517db97702e785a6656c9d88acaa3b76fd8a47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.9
|