ab5-0.7
توضیحات
print ascii art with gratient colors
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ab5-0.7 |
| نام | ab5 |
| نسخه کتابخانه | 0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ab.5#3363 |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/xxa2005/ |
| آدرس اینترنتی | https://pypi.org/project/ab5/ |
| مجوز | - |
UwU
there is vertical and horizontal gratients you can use
> vertical example:
```py
from ab5 import vgratient
logo = '''
__ __ __ __
/ / / / __/ / / /
/ / / / | /| / / / / /
/ /_/ /| |/ |/ / /_/ /
\____/ |__/|__/\____/
'''
# color in decemal rgb [red,green,blue] (max 255 min 0)
start_color=[0,223,50]
end_color=[0,25,222]
print(vgratient(logo,start_color,end_color))
```
<p align="center">
<img src="https://cdn.discordapp.com/attachments/790977863847116830/980557615413219388/unknown.png">
</p>
> horizontal example:
```py
from ab5 import hgratient
logo = '''
__ __ __ __
/ / / / __/ / / /
/ / / / | /| / / / / /
/ /_/ /| |/ |/ / /_/ /
\____/ |__/|__/\____/
'''
# color in decemal rgb [red,green,blue] (max 255 min 0)
start_color=[0,223,50]
end_color=[0,25,222]
print(hgratient(logo,start_color,end_color))
```
<p align="center">
<img src="https://cdn.discordapp.com/attachments/790977863847116830/982396318515339284/unknown.png">
</p>
نحوه نصب
نصب پکیج whl ab5-0.7:
pip install ab5-0.7.whl
نصب پکیج tar.gz ab5-0.7:
pip install ab5-0.7.tar.gz