Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/framilano/terminal-colored-print

A simple Python library that allows you to customize your CLI based output on Linux
https://github.com/framilano/terminal-colored-print

color pip print python rgb terminal

Last synced: about 2 hours ago
JSON representation

A simple Python library that allows you to customize your CLI based output on Linux

Awesome Lists containing this project

README

        

# Terminal-Colored-Print

## About

A small module that allows to simply decorate strings on Linux terminals and on Windows Terminal. I personally use it for multi-threaded project, it helps me recognize which thread is actually talking.

Compatible with Python > 2.7

```
pip install terminal-colored-print
```

You can select the foreground color (text color), background color and format (text style) for your Text. Foreground and background color values are between 0 and 255, format can be Bold, Italic, Underline, Strikethrough, Blinking, Reversed and DoubleUnderline, any combination of them is accepted!

![ID codes](https://i.imgur.com/UlquHhH.png)

## How to use

[How to use](https://user-images.githubusercontent.com/28491164/145122077-296f36b2-9b61-4c81-be3d-b7c8740e0c51.mp4)