color-tools-0.0.2
توضیحات
color_tools
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | color-tools-0.0.2 |
| نام | color-tools |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jonathan Quiza |
| ایمیل نویسنده | jony327@gmail.com |
| آدرس صفحه اصلی | https://github.com/jonaqp/color_tools/ |
| آدرس اینترنتی | https://pypi.org/project/color-tools/ |
| مجوز | - |
# color_tools: text color
[](https://opensource.org/licenses/Apache-2.0)
[](pyup)
[](pyup)
[](codecov)
color_tools is a Python library Color formatting for output in terminal.
Installation
============
The code is packaged for PyPI, so that the installation consists in running:
```sh
pip install color-tools
```
Usage
=====
from termcolor import colored, cprint
text = colored('Hello, World!', 'red', attrs=['reverse', 'blink'])
print(text)
cprint('Hello, World!', 'green', 'on_red')
Terminal properties
===================
============ ======= ==== ========= ========== ======= =========
Terminal bold dark underline blink reverse concealed
------------ ------- ---- --------- ---------- ------- ---------
xterm yes no yes bold yes yes
linux yes yes bold yes yes no
rxvt yes no yes bold/black yes no
dtterm yes yes yes reverse yes yes
teraterm reverse no yes rev/red yes no
aixterm normal no yes no yes yes
PuTTY color no yes no yes no
Windows no no no no yes no
Cygwin SSH yes no color color color yes
Mac Terminal yes no yes yes yes yes
============ ======= ==== ========= ========== ======= =========
## License
[Apache License 2.0](https://www.dropbox.com/s/8t6xtgk06o3ij61/LICENSE?dl=0).
## New features v1.0
## BugFix
- choco install visualcpp-build-tools
## Reference
- Jonathan Quiza [github](https://github.com/jonaqp).
- Jonathan Quiza [RumiMLSpark](http://rumi-ml.herokuapp.com/).
- Jonathan Quiza [linkedin](https://www.linkedin.com/in/jonaqp/).
نحوه نصب
نصب پکیج whl color-tools-0.0.2:
pip install color-tools-0.0.2.whl
نصب پکیج tar.gz color-tools-0.0.2:
pip install color-tools-0.0.2.tar.gz