printkit

Printkit is an easy to use python package which contains various tools that enable you to have a distinct and good looking outputs.


Keywords
python, print, terminal, console, colors, style
License
MIT
Install
pip install printkit==0.1.3

Documentation

Printkit - Make your outputs look great

License: MIT Project stage: Development PyPi version

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

output for color text

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()

Output

output for background change

Click here to see the available colors