licorice

A python utility library for creating and printing more elegant strings.

PyPI pyversions PyPI version Code style: black

Example use-cases

Font-formatting using licorice.font_format()

import licorice

message = licorice.font_format("This is licorice", ['BOLD', 'CYAN'])
print(message)
Screen Shot 2021-11-28 at 12 26 41 AM

Font-underlining using licorice.underline()

licorice.underline("This is licorice:", ['BOLD', 'PURPLE'])
Screen Shot 2021-11-28 at 12 31 35 AM

Installation

pip install licorice