Skip to content

ryansb/tremendous

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tremendous

Powered by libfab

tremendous is a Python wrapper around libfab, a C library that acts like fabulous. It makes dealing with terminal coloring easy for standard 16-color terminals and extended 256-color environments.

from tremendous import green, red, bold

# every color is a function that wraps a string with terminal escape codes
print green("Hello, and welcome to computers")

# colors, backgrounds, and modifiers can be stacked
print bold(red("Bad things happened!"))

# 256 colors are available from tremendous.ext
from tremendous.ext import darkgreen
print darkgreen("Crisis averted")

Dependencies

tremendous depends on the development headers for ImageMagick. On fedora, you can find these in the ImageMagick-devel package.

About

A wrapper for libfab (a fabulous reimplementation in C)

Resources

License

Stars

Watchers

Forks

Packages

No packages published