outfancy
Table printing in Terminal
Demonstration
http://showterm.io/42f0bfa286232758acf18
what is it?
Outfancy is a python library to print tables in Terminal. It's a quick way to visualize data when you don't have a GUI and can be integrated easily in your programs. It's written in python3 and can quickly be installed anywhere using pip3.
installation
install with pip3
$ pip3 install outfancy
features
- Quick printing of tables.
- customize the separator used, width, priority of printing for each column.
- rearrange the columns in real time.
- Add labels to the chart (can be autogenerated).
- Do Oneline printing, useful for real-time applications (report in screen function).
usage
In the interpreter
import outfancy
motor = outfancy.render.Table()
some_data = [(1, 'Foo'), (2, 'Bar')]
print(motor.render(some_data))
to do (Colaboration is welcome)
- Translate code to english.
- color option.
- Add basic charting functions (in the folder code_to_use i have some code found in internet that can be used to that functions).
Author
Main developer: @carlosplanchon
Support
Some problem? documentation or contact