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)
Metadata
Release files for karafs 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| karafs-0.1.1.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| karafs-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / karafs-0.1.1.tar.gz
| Download URL | karafs-0.1.1.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b621c1daea2d206bb9fa16dd142c1f376682c7bf7564934beacc96af30bbe239
|
|
BLAKE2b-256 checksum How to use checksums |
009ecf64af1719c896631dd41f1cca723f2335b2bb68a9528c22576ff80bf380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / karafs-0.1.1-py3-none-any.whl
| Download URL | karafs-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47fd786f2a90c973302b4c290fd1ae1edb44454b3352ae153bdc7ef90700ca39
|
|
BLAKE2b-256 checksum How to use checksums |
c7ce780c850bce08df619a3dbfc2e18d6136a044a0213eb7849bdb4762cda5f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|