Printkit - Make your outputs look great
Printkit is an easy to use python package which contains various tools that enable you to have a distinct and good looking outputs.
Features:
- Change Text Colors
- Change Background Colors
Still working on making the program better with additional features.
Installation
Install and update using pip
pip install printkit
How to use printkit
Imports
from printkit import *
Usage
cprint.[colorname]([string]) #change text color
bgcolor.[colorname]([string]) #change background color
#custom options
cprint.custom([string],color=[ansi color code])
bgcolor.custom(color=[ansi color code])
Miscellaneous Methods
import printkit
#To get printkit version
printkit.version()
#To get the available colornames
printkit.colors()
For changing output color
Code
#To print 'Success' in green text color
cprint.green('Success')
Output
For changing background color of terminal/console
Code
#Change the background color to cyan
bgcolor.cyan()
#Print with black text
cprint.black('Hello World')
#Make the background color to default
bgcolor.default()