Skip to main content

NameGenderFA

Detecting the gender of Persian names with automatic cleaning of input


Example:

from NameGenderFA import NameGenderFA

gd=NameGenderFA.Gender_detector()

name='علی123! عزیزی'

gender, cleaned_name=gd.detect(name)


output: ('male', 'علی')


gender: male/female/None

cleaned_name: cleaned name

Gender_detector.perfixes: removes some perfixes like "سید", you can set it manually

Gender_detector.replace_chars: replace some characters like 'ي' to 'ی' or 'السادات' to ''

also punctuations and numbers will be remove.

Metadata

Release files for NameGenderFA 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NameGenderFA 0.0.3
File Size Uploaded Provenance Actions
NameGenderFA-0.0.3.tar.gz 3.2 kB Without provenance Details for NameGenderFA-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for NameGenderFA 0.0.3
File Interpreter ABI Platform Actions
NameGenderFA-0.0.3-py3-none-any.whl Python 3 none any Details for NameGenderFA-0.0.3-py3-none-any.whl

Total release size: 6.5 kB

Release files / NameGenderFA-0.0.3.tar.gz

Download URL NameGenderFA-0.0.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
195630d54461bf3f0cfd34233096473384cfd37dda4edaf37464ef391eb7f77e
BLAKE2b-256 checksum
How to use checksums
70ad79508812b1f07c1a35f258415a29378fb115e45525df574a0e26ee915019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / NameGenderFA-0.0.3-py3-none-any.whl

Download URL NameGenderFA-0.0.3-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b64f526e97357a20963486e792fe840b1820548885228ef69b8c43dd481446e5
BLAKE2b-256 checksum
How to use checksums
cdd4241ab9e0b47eebb4fa58dbc4edb7895e4f70bfa8a0943069b41c2f195266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Security for NameGenderFA 0.0.3

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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page