tabloid

Make your terminal output pretty


License
Other
Install
pip install tabloid==0.3.1

Documentation

Tabloid

Makes pretty table in console.

Requirements and dependencies

  • python 3.*.

  • Colorama needs to color header.

Example

If you run example.py as is, you should see something like (depends on terminal's color scheme):

Example output

Example tolerance to long lines (example2.py):

Example output

Example using with pygments (example3.py):

Example output

Why not ${YOUR_FAV_LIB}?

Well, at first, existing libs does not tolerant to big data long lines. And it's enough for me. But, as I've started to write my own lib, I try to add something more. So, you can define formatting rules for each cell based on column, row or moon size.