tabulate
Pretty-print tabular data
Install
tabulate on PyPI
pip
pip install tabulateuv
uv add tabulatepoetry
poetry add tabulatePackage 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 — 162 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: tabulate-0.10.0-py3-none-any.whl
About tabulate
from the package's own PyPI description — quoted content, verbatim
python-tabulate
Pretty-print tabular data in Python, a library and a command-line utility.
The main use cases of the library are:
- printing small tables without hassle: just one function call, formatting is guided by the data itself
- authoring tabular data for lightweight plain-text markup: multiple output formats suitable for further editing or transformation
- readable presentation of mixed textual and numeric data: smart column alignment, configurable number formatting, alignment by a decimal point
Installation
To install the Python library and the command line utility, run:
pip install tabulate
The command line utility will be installed as tabulate to bin on
Linux (e.g. /usr/bin); or as tabulate.exe to Scripts in your
Python installation on Windows (e.g. C:\Python39\Scripts\tabulate.exe).
You may consider installing the library only for the current user:
pip install tabulate --user
In this case the command line utility will be installed to
~/.local/bin/tabulate on Linux and to
%APPDATA%\Python\Scripts\tabulate.exe on Windows.
To...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Formats tabular data (lists, dicts, dataframes, NumPy arrays) into nicely aligned plain-text tables with support for multiple output formats suitable for markdown, HTML, LaTeX, and other markup languages.
Installs cleanly with no runtime dependencies and a pure-Python wheel distribution. Actively maintained with a recent release (162 days ago) and strong community engagement (2580 GitHub stars).
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects, with only attribution required.
Usage
pip install tabulate
from tabulate import tabulate
table = [["Alice", 24], ["Bob", 19]]
print(tabulate(table, headers=["Name", "Age"]))
Requires Python 3.10 or later.
Verdict: A lightweight, well-maintained library with zero vulnerabilities and permissive licensing. No install friction and broad format support make it a low-risk choice for any project needing readable table output. Active development and top-1000 PyPI popularity indicate solid community trust.
Similar packages
permissive · top 1,000 on PyPI
nbconvertpermissive · top 1,000 on PyPI
msgpackpermissive · top 1,000 on PyPI
pandocfilterspermissive · top 1,000 on PyPI
google-adspermissive · top 1,000 on PyPI
agatepermissive · top 1,000 on PyPI
daffpermissive · top 1,000 on PyPI
readme-rendererpermissive · top 1,000 on PyPI
xlsxwriterpermissive · top 1,000 on PyPI
sounddevicepermissive · top 1,000 on PyPI