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 details)

Uploaded Source

File details

Details for the file PLTable-1.1.0.tar.gz.

File metadata

  • Download URL: PLTable-1.1.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for PLTable-1.1.0.tar.gz
Algorithm Hash digest
SHA256 dc8eb7cb9721a7090dc7a5976fbec7d3ef6b82a61f86c3b98700571a3f10401a
MD5 35ee5e95475e829c9113c3666ce785e3
BLAKE2b-256 53b90276a2c7699255c9a8e459b093db4414162607dcf42636c0bbe4be1bf8e4

See more details on using hashes here.

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