Skip to main content

A simple Python library for generating random Persian (Farsi) names.

Project description

persian-names

A simple Python library for generating random Persian (Farsi) names.

Installation

pip install persian-names

Usage

Let's take a look at what an example test case would look like using persian-names.

To generate a Persian name in English:

import persian_names as pn

pn.fullname_en('male')
pn.fullname_en('female')
pn.fullname_en('random')

To generate a Persian name in Farsi:

import persian_names as pn

pn.fullname_fa('male')
pn.fullname_fa('female')
pn.fullname_fa('random')

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-names-1.0.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

persian_names-1.0.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file persian-names-1.0.3.tar.gz.

File metadata

  • Download URL: persian-names-1.0.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for persian-names-1.0.3.tar.gz
Algorithm Hash digest
SHA256 cbf6bb675712c4f9fda8fc8171735bd2d0fd6f33a75341c8c553d1acbe5057da
MD5 56dc90e1b204c0ec86be58288b87d1aa
BLAKE2b-256 1c6b531521ba3a6fa8336c4b613a6c277f1cdc6e1614e728f6aef2c4b2db6497

See more details on using hashes here.

Provenance

File details

Details for the file persian_names-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for persian_names-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 54f4d1fad1222526f5ea9a00700891634391aba1ccf22095ab7a2c8ac6e0038a
MD5 2ffc5b8d2054f0e459342d92bf31167b
BLAKE2b-256 09e6b3d0073d5b418cd05d377029e4f61975872b856d6f5d5eee8859f9b5cb8c

See more details on using hashes here.

Provenance

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