Comparison
ansitable vs prettytable vs tabulate vs texttable
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Quick and easy display of tabular data and matrices with optional ANSI color and borders
Actively maintained. Last release 7 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install ansitableA simple Python library for easily displaying tabular data in a visually appealing ASCII table format
Actively maintained. Last release 13 days ago, commits in 12 of the last 26 weeks. A safe choice.
pip install prettytablePretty-print tabular data
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install tabulatemodule to create simple ASCII tables
Maintained. Last release 3 days ago, commits in 4 of the last 26 weeks. Weaker on commit activity and security practices.
pip install texttableIn short
- tabulate is the most used: 225.8M downloads a month, 4.5× more than prettytable.
- ansitable is better maintained: Pythie’s Index 77 against 33.
- tabulate is growing fastest: downloads +28% over the last month.
Side by side
| Metric | ansitable | prettytable | tabulate | texttable |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | 73 |