Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month ago
JSON representation
A simple Python library that allows you to customize your CLI based output on Linux
- Host: GitHub
- URL: https://github.com/framilano/terminal-colored-print
- Owner: framilano
- License: mit
- Created: 2021-12-07T15:12:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-05T08:54:33.000Z (over 2 years ago)
- Last Synced: 2024-09-30T09:33:16.259Z (3 months ago)
- Topics: color, pip, print, python, rgb, terminal
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)