tabulate
Pretty-print tabular data
Decision gist · record as of 2026-08-14
Yes. Tabulate is lightweight, dependency-free, actively maintained, and widely used (top 1000 PyPI packages). It solves a common problem—readable table formatting—with a simple API and no security vulnerabilities. Install it if you need to display or export tabular data in any text-based format.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with no runtime dependencies.
- Actively maintained with recent releases and a healthy repository (2580 stars).
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-03-04 (163 days) · last repo commit 2026-03-11 · 2,580 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 240,141,925 downloads/mo, #165 on PyPI
Alternatives
Verify before relying
pip install tabulate
from tabulate import tabulate
table = [["Sun", 696000, 1989100000], ["Earth", 6371, 5973.6]]
print(tabulate(table, headers=["Planet", "R (km)", "mass (x 10^29 kg)"]))What it is and what it does
Tabulate is a Python library that converts tabular data into nicely formatted plain-text tables. It accepts data in many forms—lists of lists, dictionaries, dataclasses, NumPy arrays, and pandas DataFrames—and outputs them as readable text tables with automatic column alignment and optional headers. The library handles both numeric and textual data intelligently, aligning numbers by decimal point when appropriate and padding columns for readability.
The package includes a command-line utility for formatting data from the shell and supports output in many formats beyond plain ASCII: Markdown, GitHub-flavored Markdown, grid styles (simple, rounded, heavy, double), reStructuredText, LaTeX, HTML, TSV, and others. It's useful for quick table printing in scripts, generating documentation, preparing data for markup languages, and presenting mixed data types in a human-readable form.
Use it for
- Print query results or data summaries to the console without manual formatting.
- Generate Markdown or HTML tables for documentation or reports.
- Format tabular output for command-line tools and scripts.
- Convert structured data (dicts, dataframes) to readable plain-text tables.
- Prepare data for inclusion in reStructuredText or LaTeX documents.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Tabulate is lightweight, dependency-free, actively maintained, and widely used (top 1000 PyPI packages). It solves a common problem—readable table formatting—with a simple API and no security vulnerabilities. Install it if you need to display or export tabular data in any text-based format.
Install
tabulate on PyPI
Before you install
Low install friction with no runtime dependencies. Actively maintained with recent releases and a healthy repository (2580 stars). Supports current Python versions (3.10+).
Requires Python 3.10 or later.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install tabulate
from tabulate import tabulate
table = [["Sun", 696000, 1989100000], ["Earth", 6371, 5973.6]]
print(tabulate(table, headers=["Planet", "R (km)", "mass (x 10^29 kg)"]))
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 163 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 240,141,925 / month, #165 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries |
Evidence: tabulate-0.10.0-py3-none-any.whl
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 › “format tables in plain text”
- tabulateFormats and prints tabular data in plain text with multiple output…
- pyth3Converts marked-up text between formats including plain text, XHTML,…
- striprtfConverts Rich Text Format (RTF) files to plain text, stripping…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also texttable · py-markdown-table · treetable · dmiparser · perky · pytablewriter · linear-tsv · tablib · asciitree · tabledata