Skip to main content

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

Project description

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. :blush:

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

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

printkit-0.1.3.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

printkit-0.1.3-py3-none-any.whl (4.5 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