=======================================
Get gender from name and email address
What does it do?
----------------
Suppose you have someone's name and need to find out whether this person is a female (male). The name might come with an email address as it's often the case when you deal with customer records. This package finds the gender for you.
Key Advantages
--------------
- Very simple to use
- Accepts a single string or a list of strings as input
- Relies on a dataset of 130,000+ unique names
- Covers hypocorisms (English only at this time)
- Makes use of a person’s email address (if available) via searching for names and grammatical gender words in the prefix
- Doesn’t care if the input has bad formatting
Installation
------------
.. code-block:: console
$ pip3 install gender
Quickstart
----------
Import and initialise the GenderDetector class:
.. code-block:: console
from gender import GenderDetector
gd = GenderDetector()
Then use its *gender* method:
.. code-block:: pycon
gd.gender('jaeden collins')
Note that you can give it a string with some rubbish in it, like
.. code-block:: pycon
gd.gender('dr.. arian ChiA ,%%%achia58@hotmail.com')
Having an email address could make difference. Suppose that you want to figure out gender of someone whose description is
.. code-block:: pycon
customer_info = 'b w roberts -- roboking@yahoo.co.uk'
Both the initials and surname don’t tell you whether this is a male or a female. However, the email prefix robo*king* does look like it’s probably a male because the word *king* always points to a male.
Also note that you can feed a **list** into the **gender** method in which case you will get a list of identified genders as an output:
.. code-block:: pycon
gd.gender(['steve risotto', 'ana kowalski'])
>>>['m', 'f']
Metadata
Release files for phonenumberchecker 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phonenumberchecker-0.0.5.tar.gz | 6.3 MB | Without provenance | Details for phonenumberchecker-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phonenumberchecker-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for phonenumberchecker-0.0.5-py3-none-any.whl |
Total release size: 12.6 MB
Release files / phonenumberchecker-0.0.5.tar.gz
| Download URL | phonenumberchecker-0.0.5.tar.gz |
|---|---|
| Size | 6.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8064a14d467deadd9556cc5e1ec9c240e740aa519d34332409098feaae50e89
|
|
BLAKE2b-256 checksum How to use checksums |
b5d5d178daffd75397d1902c1cda913eb6745f3702b3a492c37365ad4f4ce6d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / phonenumberchecker-0.0.5-py3-none-any.whl
| Download URL | phonenumberchecker-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b1f00810e44cdbaeaf91830abe17d5a1743123fa749a2005b27ad5f28134a72
|
|
BLAKE2b-256 checksum How to use checksums |
d857abbfc484febcd27b5e2a5cc9d36a59bda0ddfdfb5d517b76d38bd38ffc7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for phonenumberchecker 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.