PTable
A simple Python library for easily displaying tabular data in a visually appealing ASCII table format
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code already using it. The package is abandoned (last release 2015-05-28), has high install friction, and offers no maintenance pathway for compatibility issues. For new projects, consider actively maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- No runtime dependencies, but package has not been updated since 2015 and may have compatibility issues with modern Python versions.
- Installation friction is high due to source-only distribution.
- Maintenance is abandoned—last release was 2015-05-28 with no updates since, though the repository remains unarchived.
License · maintenance · safety
BSD (3 clause) (permissive) — BSD (3 clause) is permissive, allowing commercial and private use with minimal restrictions, making it safe from a licensing perspective for most projects.
last release 2015-05-28 (4096 days) · last repo commit 2022-05-02 · 127 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 431,083 downloads/mo, #6,721 on PyPI
Alternatives
Verify before relying
pip install ptable
from ptable import PTable
x = PTable()
x.field_names = ["City", "Population"]
x.add_row(["Sydney", 4336374])
print(x)- Whether the package works reliably on Python 3.8+ despite being last released in 2015
- Whether high install friction (source-only distribution) reflects ongoing build or packaging issues
- Current state of the GitHub repository and whether it accepts maintenance contributions
- Exact API compatibility between PTable and its original PrettyTable fork
What it is and what it does
PTable is a lightweight library for rendering tabular data as formatted ASCII tables suitable for terminal or text output. It was originally forked from PrettyTable and provides methods to populate tables row-by-row, column-by-column, or by importing from CSV files or database cursors. The library handles alignment, field selection, and row range filtering to control output appearance.
The package has no runtime dependencies and works standalone, but it is effectively unmaintained—the last release was 2015-05-28 and no updates have been published since. While the repository remains unarchived on GitHub, the lack of recent commits or releases means it may have compatibility gaps with modern Python versions and will not receive bug fixes or feature updates.
Use it for
- Display query results from database cursors as formatted ASCII tables in scripts or CLI tools.
- Convert CSV data into readable terminal-friendly table output for data inspection or reporting.
- Format structured data (lists of rows or columns) into aligned ASCII tables for logging or console display.
- Build simple data presentation layers in command-line utilities where HTML or graphical output is not available.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code already using it.
The package is abandoned (last release 2015-05-28), has high install friction, and offers no maintenance pathway for compatibility issues. For new projects, consider actively maintained alternatives.
Install
ptable on PyPI
Before you install
Installation friction is high due to source-only distribution. Maintenance is abandoned—last release was 2015-05-28 with no updates since, though the repository remains unarchived.
No runtime dependencies, but package has not been updated since 2015 and may have compatibility issues with modern Python versions.
License in practice
BSD (3 clause) is permissive, allowing commercial and private use with minimal restrictions, making it safe from a licensing perspective for most projects.
Quickstart
pip install ptable
from ptable import PTable
x = PTable()
x.field_names = ["City", "Population"]
x.add_row(["Sydney", 4336374])
print(x)
Verify before relying
- Whether the package works reliably on Python 3.8+ despite being last released in 2015
- Whether high install friction (source-only distribution) reflects ongoing build or packaging issues
- Current state of the GitHub repository and whether it accepts maintenance contributions
- Exact API compatibility between PTable and its original PrettyTable fork
Package facts
| License | BSD (3 clause) permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 4,096 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 431,083 / month, #6,721 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2.4Programming Language :: Python :: 2.5Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Text Processing |
Evidence: PTable-0.9.2.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ascii table formatting”
- PTablePTable formats tabular data into visually appealing ASCII tables,…
- texttableCreates formatted ASCII tables for console output with support for…
- terminaltablesRenders formatted ASCII tables in terminal output from nested lists…
Give your agent the search over MCP, or paste the wish link into any chat.
More Text Processing packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.
Install it if you need to parse text or define grammars programmatically.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.
Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.
tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.
Install it if your project requires CSS tokenization or syntax manipulation.
See also prettytable · texttable · sttable · beautifultable · rcslice · tabulator · py-markdown-table · terminaltables3 · terminaltables · treetable