Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bzdvdn/simple-color-print
- Owner: bzdvdn
- Created: 2019-07-09T13:25:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-25T10:38:53.000Z (over 5 years ago)
- Last Synced: 2024-08-11T08:28:54.113Z (5 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]