Skip to content

python class that will format output with color using ANSI escape sequences

Notifications You must be signed in to change notification settings

smullins7/termcolors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terminal-colors uses ANSI escape sequences to colorize output to a terminal. Most terminals recognize all escape sequences this library uses.

foreground colors

  • Black
  • Dark Gray
  • Blue
  • Light Blue
  • Green
  • Light Green
  • Cyan
  • Light Cyan
  • Red
  • Light Red
  • Purple
  • Light Purple
  • Brown
  • Yellow
  • Light Gray
  • White

background colors

  • Black
  • Red
  • Green
  • Brown
  • Blue
  • Purple
  • Cyan
  • Light Gray

effects

  • Underscore
  • Blink
  • Blink Fast
  • Inverse
  • Concealed
  • Strikeout

to see what the colors look like and what effects are supported in your terminal, run

./test.py

About

python class that will format output with color using ANSI escape sequences

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages