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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for persian_names-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5558e335da0bfa63fb7027deccf2320b99cf516fd2633a2a43c5f728f4aa9b9 |
|
MD5 | 534df67653c54a7342d3ce957fe66076 |
|
BLAKE2b-256 | b32608ca90ebeadbdb74d9b58d5f1a8d6c0636008ef136a8c08ef9f6d6e96849 |