colorant-1.0.0


توضیحات

Sets text colors and effects in console
ویژگی مقدار
سیستم عامل OS Independent
نام فایل colorant-1.0.0
نام colorant
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Nick Liu
ایمیل نویسنده itrust19@yahoo.com
آدرس صفحه اصلی https://github.com/Nick-Lrc/colorant
آدرس اینترنتی https://pypi.org/project/colorant/
مجوز -
# Colorant ## Intro - Sets text colors and effects in console. ## Installation ```bash pip install colorant ``` ## Features - Foreground and background colors - Black - Red - Green - Yellow - Blue - Magenta - Cyan - White - Bright black - Bright red - Bright green - Bright yellow - Bright blue - Bright magenta - Bright cyan - Bright white - Decorations - Bold - Underline - Reversed - Function chaining - e.g. `Colorant().bg_lt_green().black('OK').flush()` prints `OK` in black on a light green background. - `tests/demo.py` contains more example usages. ![demo](https://raw.githubusercontent.com/Nick-Lrc/colorant/main/demo.png) ## Reference 1. [Build your own Command Line with ANSI escape codes](https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html) 2. [ANSI escape code](https://en.wikipedia.org/wiki/ANSI_escape_code) 3. [Colors In Terminal](http://jafrog.com/2013/11/23/colors-in-terminal.html) 4. [STY](https://sty.mewo.dev/index.html)


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl colorant-1.0.0:

    pip install colorant-1.0.0.whl


نصب پکیج tar.gz colorant-1.0.0:

    pip install colorant-1.0.0.tar.gz