Comparison
astor vs fissix vs google-pasta vs libcst
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Read/rewrite/write Python ASTs
Low maintenance activity. Last release over 6 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install astorMonkeypatches to override default behavior of lib2to3.
Maintained. Last release 5 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install fissixpasta 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.4M downloads a month, 1.9× more than google-pasta.
- Maintenance is comparable: libcst 51, fissix 48, astor 17 on Pythie’s Index.
Side by side
| Metric | astor | fissix | google-pasta | libcst |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | 48 |