Comparison
google-pasta vs libcst
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 4 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install libcstIn short
- google-pasta is archived: avoid it for new projects.
- libcst is the most used: 36.7M downloads a month, 2.0× more than google-pasta.
- libcst also has the best Pythie’s Index (52).
Side by side
| Metric | google-pasta | libcst |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 3 | 52 |