Skip to content

platomav/PLTable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

PLTable

PLTable is a Python 3 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. Dump it to JSON format via the built-in json library.
  • 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 various bug fixes when necessary.

You can find PrettyTable documentation at the PTable and/or PrettyTable wikis.

To install PLTable, use pip via pip install pltable or build from source via python setup.py install.

About

PLTable is a Python library designed to make it quick and easy to represent tabular data in visually appealing text tables.

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%