Comparison
ansitable vs beautifultable vs prettytable vs terminaltables
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 ansitablePrint text tables for terminals
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install beautifultableA simple Python library for easily displaying tabular data in a visually appealing ASCII table format
Actively maintained. Last release 2 weeks ago, commits in 13 of the last 26 weeks. A safe choice.
pip install prettytableGenerate simple tables in terminals from a nested list of strings.
Low maintenance activity. Last release over 4 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install terminaltablesIn short
- beautifultable looks abandoned: avoid it for new projects.
- prettytable is the most used: 49.9M downloads a month, 10× more than terminaltables.
- Maintenance is comparable: ansitable 77, prettytable 76, terminaltables 20 on Pythie’s Index.
- ansitable is growing fastest: downloads +15% over the last month.
- Safe default for a new project: prettytable.
Side by side
| Metric | ansitable | beautifultable | prettytable | terminaltables |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | 14 |