# astanin/python-tabulate

Pretty-print tabular data in Python, a library and a command-line utility. Repository migrated from bitbucket.org/astanin/python-tabulate.

Repository: https://github.com/astanin/python-tabulate
Canonical: https://ross.abutalabs.com/products/python-tabulate
Homepage: https://pypi.org/project/tabulate/
Language: Python
License: MIT
License Family: permissive
Last push: 2026-03-11T08:45:56+00:00

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

## Adoption (not part of the score)
Stars 2579, forks 198 (observed 2026-08-28T04:07:02.337112+00:00)

## What it is
A Python library and command-line utility for pretty-printing tabular data as formatted plain-text tables. It supports many input types including lists, dicts, dataclasses, NumPy arrays, and pandas DataFrames, with multiple output formats and smart column alignment.

## Use cases
- print small tables in python with one function call
- format a pandas dataframe as plain text
- convert csv data to a readable ascii table
- align numeric columns by decimal point in terminal output
- generate markdown or rst tables from python data
- pretty-print a list of dicts as a table

## When to choose
- you need quick, readable plain-text table output in Python or from the shell
- you want lightweight formatting without heavy dependencies
- you need multiple output formats like grid, markdown, or rst

## When to avoid
- you need interactive or graphical tables in a GUI or web UI
- you need to export to binary formats like Excel or PDF
- you need very large table rendering with virtualization

## Facets
- artifact type: library
- maturity: stable
- function: cli, developer-tools, data-visualization
- domain: developer-tools, data-science
- platform: python, cli, cross-platform
- tags: tables, pretty-print, plain-text, formatting, pandas, numpy, command-line

## Member repositories
- astanin/python-tabulate (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.337112+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-30T02:22:39.588390+00:00, confidence not recorded.
  - readme: https://github.com/astanin/python-tabulate (fetched 2026-08-28T04:07:02.337112+00:00, sha cb09f2b44618)
  - homepage: https://pypi.org/project/tabulate/ (fetched 2026-08-29T10:05:14.038527+00:00, sha 4b4e8fead74a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
