A handy package to draw ASCII tables easily and effortlessly.
From pip :
pip3 install oxtables
From source :
git clone https://github.com/0x68616469/oxtables/
from oxtables import Table
th = Table(style="-",
border_color="black",
text_color="white",
align="left",
spacer=True,
first_row="default",
max_length=50)
th.add(["Argument", "Description", "Default"])
th.add(["style", "Change border ascii style", "-"])
th.add(["border_color", "Change the border color", "black"])
th.add(["text_color", "Change the text color", "white"])
th.add(["align", "Text align (left/center/right)", "left"])
th.add(["spacer", "Print the spacer between rows (True/False)", "True"])
th.add(["first_row", "Change first row styling (border/side/none/default)", "default"])
th.add(["max_length", "Max text length", "50"])
th.draw()
Result :