clrc-0.0.6
توضیحات
Easy to use console prints with colors. clrc.info(), clrc.success() etc
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | clrc-0.0.6 |
| نام | clrc |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Igor Andreev |
| ایمیل نویسنده | idchlife@gmail.com |
| آدرس صفحه اصلی | https://github.com/idchlife/clrc |
| آدرس اینترنتی | https://pypi.org/project/clrc/ |
| مجوز | - |
# CLRC - easy print with colors (clrc.info, clrc.warn, etc)
## Description
I made this package for easy printing colored messages to output. Under the hood - print function with usage of colorama (https://github.com/tartley/colorama) package colors.
Why? I wanted the simpliest way possible to import package - start right after with colored messages. All functions inside this package satisfy my and possible yours basic needs for colored output
## Installation
pipenv install clrc
or
pip install clrc
## Usage
You can pass additional *args like in plain print()
import clrc
# Available functions
clrc.info()
clrc.warn()
clrc.success()
clrc.error()
clrc.danger()
# Example:
clrc.error("This is error", True, 2, False, 43.2)
## Update Log
0.0.3 - 16.03.2019
- Reformatted code, now using AbstractPrinter and printers instead of raw using of print function
- Now there is way to attach Loguru via LoguruPrinter
## Licence
See licence file inside repository. But basically it's good old MIT
نیازمندی
| مقدار | نام |
|---|---|
| ==0.4.5 | colorama |
نحوه نصب
نصب پکیج whl clrc-0.0.6:
pip install clrc-0.0.6.whl
نصب پکیج tar.gz clrc-0.0.6:
pip install clrc-0.0.6.tar.gz