Skip to main content

An intuitive way to color terminal text

Project description

Terminology

Build Status

A simple way to color terminal text! ❤️ 💛 💚 💙 💜

Color Text

from terminology import in_red, in_yellow, in_green, in_blue, in_magenta

print(in_red("it's"), in_yellow("a"), in_green("double"), in_blue("rainbow"), in_magenta("dude..."))

Output

alt text

Color Text Background

from terminology import on_green, on_yellow, on_red

print(on_green("OK"), on_yellow("WARNING"), on_red("DANGER")

Output

alt text

Emphasize Text with Bold and Underlining

from terminology import in_bold, underlined

print(in_bold("Chapter 1"))
print("- ", underlined("Section i"))
print("- ", underlined("Section ii"), "\n")

print(in_bold("Chapter 2"))
print("- ", underlined("Section i"), '\n')

Output

alt text

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for terminology, version 1.0.16
Filename, size File type Python version Upload date Hashes
Filename, size terminology-1.0.16-py2.py3-none-any.whl (5.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size terminology-1.0.16.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page