Simple Eyecandy ASCII Tables
Project description
>>> t = TextTable((5, 'abc'), (10, 'def')) >>> t.row('foobarbaz', 'yadayadayada') >>> print t.draw() .-------+------------. | abc | def | +-------+------------+ | foob- | yadayaday- | | arbaz | ada | '-------+------------'
Ported from Sebastian Riedel’s Text::SimpleTable[1] to Python. License is same as that of Text::SimpleTable - Artistic or GPL license.
[1]: http://search.cpan.org/~sri/Text-SimpleTable/lib/Text/SimpleTable.pm