PLTable is a Python library designed to make it quick and easy to represent tabular data in visually appealing text tables. PLTable is a fork of PTable which was in turn originally forked from PrettyTable :
Compared to PTable, PLTable:
- Adds an improved Unicode line drawing table style based on Ryan James's original PTable fork, boxchar branch.
- Adds JSON Dictionary export via "get_json_dict" method. Convert it to JSON via python's built-in json import.
- Fixes HTML export via "get_html_string" by adding proper table Title/Caption and valid xHTML parameter toggle.
PLTable can be used as a drop-in replacement for PTable, provided that the module import name is changed accordingly. The opposite is not true because PLTable adds additional capabilities which are not present at PTable, while retaining the existing with bug fixes when necessary.
You can find the full PrettyTable documentation at the PTable or PrettyTable wikis.
To install PLTable, use pip via pip install PLTable or build from source via python setup.py install.