Metadata-Version: 2.4
Name: printcolorpt
Version: 0.1.0
Summary: Tiny ANSI color print helpers for Python
Author: Your Name
License: MIT
Project-URL: Homepage, https://github.com/parasky/printcolorpt
Project-URL: Issues, https://github.com/parasky/printcolorpt/issues
Keywords: print,color,ansi,terminal,logging
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# printcolorpt

Tiny ANSI color print helpers for Python.


`printR(*args, **kwargs)` is equvelant to `print(*args, **kwargs)` except the color of text.

`print((RED("hello") + YELLOW("world!"))` is equvelant to `print("hello" + "world!")` except the color of text(s).


you can use the first 5 functions for entire colorization of the sentence: `printR`(red), `printG`(green), `printY`(yellow), `printB`(blue), and `printD`(dark gray - short for "Debug").

you can use the rest 5 functions for partial colorization of the sentence: `RED`(red), `GREEN`(green), `YELLOW`(yellow), `BLUE`(blue), and `DEBUG`(dark gray - short for "Debug").


## usage
```python
from printcolorpt import printR, printG, printY, printB, printD
from printcolorpt import RED, YELLOW

printR("this is red")
printG("this is green")
printY("this is yellow")
printB("this is blue")
printD("this is dark gray")

print(RED("this is red. ") + YELLOW("this is yellow."))
```

## Install

```bash
pip install printcolorpt
