Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bzdvdn/simple-color-print

python color print
https://github.com/bzdvdn/simple-color-print

Last synced: 6 days ago
JSON representation

python color print

Awesome Lists containing this project

README

        

# Color print

# Installation

Install using `pip`...

pip install simple-color-print

# Usage

```python
from color_print import print
print("testerino", color='green')
```
![Alt text](/img/first.png?raw=true)
```python
print("testerino", color='blue', tag='success', tag_color='green')
```
![Alt text](/img/second.png?raw=true)
```python
print("testerino", color='blue', tag='success', tag_color='green', background='yellow')
```
![Alt text](/img/third.png?raw=true)
```python
print("testerino", color='blue', tag='success', tag_color='green', format='underline')
```
![Alt text](/img/four.png?raw=true)

* colors: [yellow, red, green, blue, cyan, magenta, purple]
* backgrounds: [yellow, red, green, blue, cyan, magenta, purple]
* formats: [bold, underline, blink]