Skip to content

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

License

Notifications You must be signed in to change notification settings

mfalade/glitzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages