Skip to main content

simple colorization of strings in Python

Project description

ezpycolor

simple colorization of strings in Python

Installation

pip install ezpycolor

Example Output

ezpycolor-example-output.PNG

Usage

from ezpycolor import *

printgreen("hello world")

s = colorpurple("hello")+" "+colorred("world")
print(s)

printrainbow("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
printbgrainbow("ABCDEFGHIJKLMNOPQRSTUVWXYZ")

Objects

# print statements
printpurple
printblue
printgreen
printyellow
printgold
printred
printbold
printunderline
printbgpurple
printbgblue
printbggreen
printbgyellow
printbggold
printbgred
printrainbow
printbgrainbow

# string objects
colorpurple
colorblue
colorgreen
coloryellow
colorgold
colorred
colorbold
colorunderline
colorbgpurple
colorbgblue
colorbggreen
colorbgyellow
colorbggold
colorbgred
colorrainbow
colorbgrainbow

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

ezpycolor-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

ezpycolor-0.1.0-py3-none-any.whl (3.1 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