Nice Printer
What is Nice Printer?
Nice printer is a project to improve your python scripts presentations by printing nice outputs on your shell easily.
How to install?
This package is uploaded to pypa.io so you can install it running pip.
pip install niceprinter
Then in the file you want to use this package, you should import niceprinter.
from NicePrinter import *
And now you can use the functions available on API.
Screenshots of example.py output
API
- underline(string)
- darkcyan(string)
- purple(string)
- yellow(string)
- green(string)
- cyan(string)
- blue(string)
- bold(string)
- red(string)
- colorsChars(string)
- center(string)
- hr(percentage = 75, sym = '-')
- box(string, hsym = '-', vsym = '|')
- bbox(string)
- cbox(string, hsym = '-', vsym = '|')
- cbbox(string)
- title(string, percentage = 75, sym = '-')
- listing(head, array, vsym = '|', hsym = '=', centered = False, boldHead = True)
- table(array, vsym = '|', hsym = '=', centered = False, boldHead = True