Skip to main content

Color the text in your terminal.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coloredterm-0.2.2.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

coloredterm-0.2.2-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page