connorama-0.0.3
توضیحات
colours for python terminal
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | connorama-0.0.3 |
| نام | connorama |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Connor Stott |
| ایمیل نویسنده | connorbstott@gmail.com |
| آدرس صفحه اصلی | https://github.com/connorstott/connorama |
| آدرس اینترنتی | https://pypi.org/project/connorama/ |
| مجوز | - |
# Connorama
colours for python terminal
includes **text** and **background** colouring
also includes **style**/font formatting
## Instructions
1. Install:
```
pip install connorama
```
2. Initialise in project:
``` python
from connorama import Text, Back, Style
```
3. Use the features!
``` python
print(Text.red + Back.light_black + Style.bold + Style.underlined + "Hello world!" + Style.RESET_ALL)
```
## Options
### Text + Back
> black, white, red, green, yellow, blue, magenta, cyan
> light_black, light_red, light_green, light_yellow, light_blue, light_magenta, light_cyan
**RESET**: *removes any colouring*
### Style
> bold: *thicker text*
> dim: *dim text (same thickness as normal)*
> underlined: *underline under the text*
> reverse: *swithches the text's Text and Back colours*
> hidden: *hidden text*
**RESET_ALL**: *removes Text, Back and Style*
**RESET_(style)**: *removes the specific style*
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >3.0 | Python |
نحوه نصب
نصب پکیج whl connorama-0.0.3:
pip install connorama-0.0.3.whl
نصب پکیج tar.gz connorama-0.0.3:
pip install connorama-0.0.3.tar.gz