Skip to main content

A simple python package to detect gender by Persian first name. (With more than 6K names).

Project description

Persian Gender Detection

A simple python package to detect gender by Persian first name. (With more than 6K names)

for this package i use this repo if you are use NPM that's great choice.

Installation

Install with PIP:

$ pip install persian-gender-detection

Example

from persian_gender_detection import get_gender

# Detect gender
get_gender('  عــــلی  ')         # MALE
get_gender('نرگـــ😉ــس')         # FEMALE
get_gender('حســ😎ــن')           # MALE
get_gender('۱۲۳۹۹۳محمدعلی123')    # MALE
get_gender('۱۲۳مهناز۱۲۳')         # FEMALE

Issues

Feel free to submit issues and enhancement requests.

Contributing

Please feel free to contribute names database with your kindly pull requests.

License

Licensed under MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

persian-gender-detection-1.0.5.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

persian_gender_detection-1.0.5-py3-none-any.whl (97.6 kB view details)

Uploaded Python 3

File details

Details for the file persian-gender-detection-1.0.5.tar.gz.

File metadata

File hashes

Hashes for persian-gender-detection-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7762b7e403c33c381b6620d2e4312a52f9750418f40f5be5f2efbb58380ca4fe
MD5 2a4dbda623924c07b769da680dfedd6a
BLAKE2b-256 cb658fbfa18b0d5113b7d4b9398178a46c89b6f13d3eb262261b544b0899daeb

See more details on using hashes here.

File details

Details for the file persian_gender_detection-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for persian_gender_detection-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 10521dfb38d2e32f7517ef429001c5b581d884ea8e867ead3b1031e90f917ffa
MD5 967ec149447c9eb11d8e4eefaab33aba
BLAKE2b-256 74b7b84ad4f5042f62191259574935dd02cc4c558867e616fa1a576c3677b8df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page