# prettytable/prettytable

Display tabular data in a visually appealing ASCII table format

Repository: https://github.com/prettytable/prettytable
Canonical: https://ross.abutalabs.com/products/prettytable
Homepage: https://pypi.org/project/PrettyTable/
Language: Python
License: NOASSERTION
License Family: other
Topics: python, package, python-3, utility-library
Last push: 2026-08-01T07:49:56+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 95, release rhythm 89, longevity 100
- inputs: {"age_days": 3884, "days_push": 32, "days_rel": 72, "gap_med": 27, "n_releases_24m": 8}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1669, forks 193 (observed 2026-08-28T04:05:19.897016+00:00)

## What it is
PrettyTable is a Python library for displaying tabular data in visually appealing ASCII table format. It supports adding rows or columns, importing from CSV/HTML/JSON/SQL, and customizing table appearance.

## Use cases
- print ascii tables in python
- format tabular data for terminal output
- display query results as a table
- convert csv data to a formatted table
- pretty print rows and columns in cli tools

## When to choose
- you need quick, attractive ASCII table output in a Python script or CLI
- you want to import tabular data from CSV, HTML, JSON, or SQL and render it as text

## When to avoid
- you need rich graphical tables in a GUI or web frontend
- you need very large dataset rendering with performance-critical output

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, cli, data-visualization
- domain: developer-tools, data-visualization
- platform: python, cross-platform
- tags: ascii-tables, tabular-data, terminal-output, text-formatting, command-line

## Member repositories
- prettytable/prettytable (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:19.897016+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:42:47.500997+00:00, confidence not recorded.
  - readme: https://github.com/prettytable/prettytable (fetched 2026-08-28T04:05:19.897016+00:00, sha 3cab332ab25b)
  - homepage: https://pypi.org/project/PrettyTable/ (fetched 2026-08-29T11:16:02.469327+00:00, sha 4b4e8fead74a)
  - registry_pypi: https://pypi.org/pypi/prettytable/json (fetched 2026-08-29T11:16:02.472195+00:00, sha ff80b8a645b6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
