/glitzer

Pretty customizable borders around your print statements for the sake of emphasis

Primary LanguagePythonMIT LicenseMIT

glitzer

Pretty customizable borders around your print statements for the sake of emphasis

Glitzer Demo

Installation

pip install glitzer

Basic usage

from glitzer import glitz

glitz('Hello world!')

Advanced usage

  • Configure border type
  • The default glitz border type is '.'. You can change this to any string of your choice.
glitz('Hello world!', border='*')
  • Configure padding
  • The padding is the number of spaces before and after the printed text. You can easily customize this by specifying a padding keyword argument in integer
glitz('Hello world', padding=5)
  • Configure number of borders
  • You can also configure the number of borders around your given text in integer.
glitz('Hello world', num_borders=2)

Take this for a spin and let me know what you think.