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

Uploaded Source

Built Distribution

persian_names-1.0.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: persian-names-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 164fae5204e8c37798255c3c6bfac587b673dc7a8f8ed8a33ecaec383bd12136
MD5 cec51d02ead9e3d223ee13b3bfa2f93e
BLAKE2b-256 fe7068d78218cdd900da6675f2f99fdacc1a536df30360342d1a3de714ab5398

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for persian_names-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e5558e335da0bfa63fb7027deccf2320b99cf516fd2633a2a43c5f728f4aa9b9
MD5 534df67653c54a7342d3ce957fe66076
BLAKE2b-256 b32608ca90ebeadbdb74d9b58d5f1a8d6c0636008ef136a8c08ef9f6d6e96849

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