# phsym/prettytable-rs

A rust library to print aligned and formatted tables

Repository: https://github.com/phsym/prettytable-rs
Canonical: https://ross.abutalabs.com/products/prettytable-rs
Homepage: https://crates.io/crates/prettytable-rs
Language: Rust
License: BSD-3-Clause
License Family: permissive
Topics: rust, crates, cli, formatting
Last push: 2024-09-20T04:41:24+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4115, "days_push": 712, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1053, forks 78 (observed 2026-08-28T04:03:23.802186+00:00)

## What it is
prettytable-rs is a Rust library for printing aligned and formatted tables to the terminal, with styling, colors, slicing, and CSV import/export support. It is distributed as a crate on crates.io and integrates with evcxr notebooks.

## Use cases
- print aligned tables in a Rust CLI
- format tabular output with colors and styles
- export table data as CSV from Rust
- import CSV data into a formatted table
- display query results in a terminal app

## When to choose
- you need pretty ASCII table output in a Rust program
- you want simple terminal table formatting with macros and styling
- you need CSV import/export alongside table printing

## When to avoid
- you need rich TUI interfaces rather than static tables
- you are not working in Rust
- you need HTML or GUI table rendering

## Facets
- artifact type: library
- maturity: stable
- function: cli, developer-tools
- domain: developer-tools
- platform: rust, cli, cross-platform
- tags: tables, terminal-output, formatting, csv, command-line

## Member repositories
- phsym/prettytable-rs (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:23.802186+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-30T06:59:23.139248+00:00, confidence not recorded.
  - readme: https://github.com/phsym/prettytable-rs (fetched 2026-08-28T04:03:23.802186+00:00, sha 2caa352f6672)
  - registry_crates: https://crates.io/api/v1/crates/prettytable-rs (fetched 2026-08-29T13:00:47.369909+00:00, sha 9532cf3329d8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
