clicolor-1.0.7
توضیحات
Quick python reference for terminal color escape codes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | clicolor-1.0.7 |
| نام | clicolor |
| نسخه کتابخانه | 1.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Camas |
| ایمیل نویسنده | camas@hotmail.co.uk |
| آدرس صفحه اصلی | https://github.com/camas/clicolor |
| آدرس اینترنتی | https://pypi.org/project/clicolor/ |
| مجوز | - |
# clicolor
[](https://badge.fury.io/py/clicolor)
[](https://travis-ci.org/camas/clicolor)
Quick python reference for terminal color escape codes
## Usage
Install options:
- Install the package `clicolor`
- Add as a submodule
```python
git submodule add https://github.com/camas/clicolor
```
- Or just copy `cli.py` and `LICENSE` somewhere
Then `from clicolor.cli import CLI, ...`
## Examples
```python
print(f"{CLI.BG_YELLOW}{CLI.GREEN}Green on yellow.{CLI.RESET}")
```

```python
print(f"{CLI.BOLD}{CLI.RED}Bold red.{CLI.RESET}")
```

```python
print(f"{CLIT.bg(128,0,0)}{CLIT.fg(255,99,71)}Truecolor tomato red on maroon red background{CLI.RESET}")
```

## test.py
use test.py to run a variety of tests including modifiers, 8/16 colors, 256 colors and Truecolors.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl clicolor-1.0.7:
pip install clicolor-1.0.7.whl
نصب پکیج tar.gz clicolor-1.0.7:
pip install clicolor-1.0.7.tar.gz