random funny persian name generator
Project description
karafs کرفس
تولید اسم های رندوم فینگیلیش
installation
➜ pip install karafs
usage
دو زبانه
➜ karafs -n 10
توت فرنگی بی ناموس
toot farangi-ye bi_namoos
غورهٔ خسته
ghoore-ye khaste
انار زره پوش
anaar-e zereh push
انگور سر سپرده
angoor-e sar sepordeh
زلزلک نادان
zalzalak-e naadaan
سیب ورپریده
sib-e varparideh
فندق عقدهای
fandogh-e oghde_ee
گریپ فروت قزمیت
grip froot-e ghozmit
نارگیل پرورده
nargil-e parvardeh
تن ماهی تافته
ton maahi-ye tafteh
فقط انگلیسی
➜ karafs -n 10 -en
shaftaaloo-ye boland parvaz
baalang-e khoshhal
porteghal-e foroo_heshteh
piyaz-e oghde_ee
fandogh-e afsordeh
gheisi-e kar azmoodeh
piyaz-e gomashteh
limoo shirin-e zhoolideh
senjed-e tafteh
ananas-e khafan
فقط فارسی
➜ karafs -n 10 -fa
کیوی شارلاتان
لوبیا چیتی چابک
نوشابهٔ مفلس
تن ماهی اسکل
انار آلوده
انجیر پرورده
توت خسته
خیار رهیده
کمبوزهٔ شراب زده
گلابی فرسوده
option -n
با این آپشن میتونید تعداد دفعات تولید اسم رندوم رو مشخص کنید. اگر تنظیمش نکنید به طور پیشفرض تعداد 1 در نظر گرفته میشه.
➜ karafs -n 5
option --no-space
با این آپشن میتونید خروجی رو بدون فاصله بین کلمات بگیرین:
➜ karafs --no-space -n 10
use as library
شما میتونید کرفس رو به عنوان یک کتابخانه توی برنامه هاتون استفاده کنید.
import karafs
print(karafs.gen_str()) # generate a random name (finglish)
print(karafs.gen_str('fa')) # generate a random name (persian)
print(karafs.gen_str_without_space()) # generate a random name without whitespace (finglish)
print(karafs.gen_str_without_space('fa')) # generate a random name without whitespace (persian)
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
karafs-0.1.1.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file karafs-0.1.1.tar.gz.
File metadata
- Download URL: karafs-0.1.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b621c1daea2d206bb9fa16dd142c1f376682c7bf7564934beacc96af30bbe239
|
|
| MD5 |
159a77b974735e868e47d10b4c00c063
|
|
| BLAKE2b-256 |
009ecf64af1719c896631dd41f1cca723f2335b2bb68a9528c22576ff80bf380
|
File details
Details for the file karafs-0.1.1-py3-none-any.whl.
File metadata
- Download URL: karafs-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47fd786f2a90c973302b4c290fd1ae1edb44454b3352ae153bdc7ef90700ca39
|
|
| MD5 |
601cde1f85ee7fb75ae02684f96efb4f
|
|
| BLAKE2b-256 |
c7ce780c850bce08df619a3dbfc2e18d6136a044a0213eb7849bdb4762cda5f0
|