boxie
A command line utility to put text in a box.
Installation
pip install boxie
If you are on Linux you may need to use sudo to access this globally.
Usage
boxie "Hello World"
Or...
python -m boxie "Hello World"
Or in your code:
from boxie import box_borders
@box_borders
def print_console(txt):
print(txt)
print_console("Hello World")
Check test.py