Skip to main content

Python 3 library for easily displaying tabular data in a visually appealing text table format

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PLTable-1.1.0.tar.gz (17.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page