Skip to main content

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

Project description

Persian Gender Detection

A simple python package to detect gender by Persian first name. (With more than 19K 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.1.0.tar.gz (139.5 kB view details)

Uploaded Source

Built Distribution

persian_gender_detection-1.1.0-py3-none-any.whl (275.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for persian-gender-detection-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b3b405aed169267208a1e90f79ebffcfe54c248210d0517c34fbbafe2ca388f4
MD5 f181f23d37a12548fe6be4cd1fb35d09
BLAKE2b-256 d9696626944d2de9690da5593199ef627f97db73ba2492873b39d4bc0183e121

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for persian_gender_detection-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbba53cd898db463b66c6b67c3d62e9a0205f83bdb39ca60252837e41e623db9
MD5 75490f1394f4249e1446d1fdde67360e
BLAKE2b-256 fb22198263be68b8c29477639e3818b963f441c8f97380acc9931a7ace8bd12c

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