Skip to content

hostedposted/coloredterm

Repository files navigation

ColoredTerm

Contributors Forks Stargazers Issues MIT License PyPI Codacy Badge Downloads Documentation Status GitHub Workflow Status

Coloredterm is a collection of functions to help you make text in your terminal a different color.

With fg, bg, Fore, Back, Style, colored and cprint functions.

Getting started

Installing

To install the package you will need python3.6 or higher and pip installed.

With those installed you can start.

To install it go to your terminal and put in this command:

pip install coloredterm

Or you can download it from github. You can do that with:

pip install git+https://github.com/hostedposted/coloredterm.git

Usage

Here is a quick example:

from coloredterm import Fore, Back # Importing The Fore and Back class from coloredterm.

print(f"{Fore.BLUE}{Back.YELLOW}Foreground of Blue Background of yellow.") # Printing text with a Foreground of Blue and Background of Yellow.

For more please go to the documentation.