python-tabulate
« Back to VersTracker
Description:
Pretty-print tabular data in Python
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python tabular formatting cli tables
Install: brew install python-tabulate
About:
Python Tabulate is a library that prints tabular data in nicely formatted columns. It handles various input formats including lists of lists, dictionaries, and pandas DataFrames. The library automatically aligns columns and supports multiple output formats like plain, simple, grid, and pipe formats.
Key Features:
  • Supports multiple table formats (grid, pipe, orgtbl, etc.)
  • Automatic column alignment and padding
  • Works with lists, dictionaries, and pandas DataFrames
  • No external dependencies beyond Python standard library
Use Cases:
  • Generating formatted CLI output from data
  • Creating ASCII tables for reports and logs
  • Formatting data for Markdown or reStructuredText documentation
Alternatives:
  • pandas.DataFrame.to_string() – Pandas is heavier but provides more data manipulation features
  • rich – Rich offers more advanced terminal formatting but is a larger dependency
Version History
Detected Version Rev Change Commit