Comparison
ansitable vs beautifultable vs prettytable vs PTable
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 11 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 14 of the last 26 weeks. A safe choice.
pip install prettytableA simple Python library for easily displaying tabular data in a visually appealing ASCII table format
Likely abandoned. No release or commit for years (last release over 11 years ago).
pip install ptableIn short
- beautifultable looks abandoned: avoid it for new projects.
- PTable looks abandoned: avoid it for new projects.
- prettytable is the most used: 49.9M downloads a month, 96× more than PTable.
- Maintenance is comparable: ansitable 79, prettytable 76 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 | PTable |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | Pythie’s Index: 14 | Pythie’s Index: 76 | Pythie’s Index: 16 |
| Verdict | Actively maintained | Likely abandoned | Actively maintained | Likely abandoned |
| Downloads / month | 118.6K | 207.2K | 49.9M | 517.6K |
| Downloads, month over month | +15% | -1% | +11% | -4% |
| GitHub stars | 21 | 149 | 1.8K | 126 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 8 | 51 | 1.6K | 57 |
| Last release | Oct 12, 2026 | May 6, 2022 | Nov 17, 2026 | May 28, 2015 |
| Releases, 12 months | 7 | 0 | 2 | 0 |
| Weeks with commits | 11 / 26 | 0 / 26 | 14 / 26 | 0 / 26 |
| Recent contributors | 1 | 9 | 12 | 10 |
| First release | Sep 2020 | Feb 2017 | Apr 2009 | May 2015 |
| Python versions | 3.9 – 3.14 | 3.7 – 3.10 | 3.11 – 3.16 | – |
| License | MIT | MIT | BSD-3-Clause | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.