easy-colors-0.0.1
توضیحات
Colored text in the console
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | easy-colors-0.0.1 |
| نام | easy-colors |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Farhad Zaidi |
| ایمیل نویسنده | zaidi.farhad03@gmail.com |
| آدرس صفحه اصلی | https://github.com/farhadzaidi/easy_colors |
| آدرس اینترنتی | https://pypi.org/project/easy-colors/ |
| مجوز | - |
# Easy Colors
This package allows you to print colored text in the console using ANSI escape codes.
# Installation
Install on Linux/MacOS:
`python3 -m pip install easy_colors`
Install on Windows:
`python -m pip install easy_colors`
# Usage
```python
from easy_colors import Colors
print(f'{Colors.INFO}This is an example{Colors.END}')
print(f'{Colors.DANGER}This is another example{Colors.END}')
```
Note: Make sure to end all colored strings with `Colors.END`
نحوه نصب
نصب پکیج whl easy-colors-0.0.1:
pip install easy-colors-0.0.1.whl
نصب پکیج tar.gz easy-colors-0.0.1:
pip install easy-colors-0.0.1.tar.gz