Skip to main content

simple termcolor wrapper

Project description

A simple wrapper for termcolor


pip install termcolor2


from termcolor2 import c

# termcolor2
print c("hello").red.on_white.blink.underline.dark

# ---  this is equal to the following ---

# termcolor
print colored("hello", "red", "on_white", ["blink", "underline", "dark"])

# == string concat ==
c("term").blue.dark + c("color").yellow + c("2").cyan.on_white

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

termcolor2-0.0.2.tar.gz (1.5 kB view hashes)

Uploaded Source

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