Comparison
google-pasta vs libcst vs redbaron
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
pasta is an AST-based Python refactoring library
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install google-pastaA concrete syntax tree with AST-like properties for Python 3.0 through 3.15 programs.
Maintained. Last release 4 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install libcstAbstraction on top of baron, a FST for python to make writing refactoring code a realistic task
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install redbaronIn short
- google-pasta is archived: avoid it for new projects.
- redbaron looks abandoned: avoid it for new projects.
- libcst is the most used: 35.7M downloads a month, 1.9× more than google-pasta.
- libcst also has the best Pythie’s Index (54).
Side by side
| Metric | google-pasta | libcst | redbaron |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 3 | Pythie’s Index: 54 | Pythie’s Index: 12 |
| Verdict | Archived | Maintained | Likely abandoned |
| Downloads / month | 18.5M | 35.7M | 233.6K |
| Downloads, month over month | +3% | -6% | +6% |
| GitHub stars | 359 | 2K | 727 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 135 | 529 | 52 |
| Last release | Mar 13, 2020 | Jul 29, 2026 | Mar 17, 2019 |
| Releases, 12 months | 0 | 1 | 0 |
| Weeks with commits | 0 / 26 | 5 / 26 | 0 / 26 |
| Recent contributors | 10 | 23 | 13 |
| First release | Jan 2019 | Aug 2019 | Jun 2014 |
| Python versions | 3.4 – 3.8 | 3.9 – 3.15 | 3.3 – 3.4 |
| License | Apache-2.0 | MIT | LGPL-3.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.