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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

printkit-0.1.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file printkit-0.1.3.tar.gz.

File metadata

  • Download URL: printkit-0.1.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for printkit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f956d4c9b77afbf439b91806d332c8b4c5e838189b7754fbfab2433d78d095f3
MD5 a70bd940afc7f363efb18539003368f0
BLAKE2b-256 18148feac114b5a4e8afbe5cfa12c61c08a49e9f86664c8c7a29d09af0942151

See more details on using hashes here.

File details

Details for the file printkit-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: printkit-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for printkit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f2c650bd3198cbd23588f9935e61ab42acc084f18c24f8489db2639ee060fcc8
MD5 01cbeb3a5f39e8460bbe7de93dfce0e7
BLAKE2b-256 e5a6c18174865d50bb00f529e45a3bb2aa818f71f22da383beef0090aee7181e

See more details on using hashes here.

Supported by

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