Color the text in your terminal.
Project description
ColoredTerm
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file coloredterm-0.2.2.tar.gz
.
File metadata
- Download URL: coloredterm-0.2.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5ab2307c2a865ac7c76b984c65e3cc97df74dee3d876e93b17b2a1301070ed0 |
|
MD5 | 887f273422f9329b72773f50d97a914c |
|
BLAKE2b-256 | a67a23a550d2c2d29ce8310549ddcd39e72f9f50fa0cd295ff743a3d622233cc |
File details
Details for the file coloredterm-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: coloredterm-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b299f388e5bcaa18d4227c31fc42f03c6900a9080b8f74319e7b162816785a39 |
|
MD5 | 818fed356dff6cc83b3bda24bd562ddc |
|
BLAKE2b-256 | e2f3245922399f08d589867742811989725a7ad33398e77cac87d6ad54b8c1f5 |