Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.08 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.08 KB

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.