Comparison
astor vs astunparse vs google-pasta
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 astorAn AST unparser for Python
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install astunparsepasta is an AST-based Python refactoring library
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install google-pastaIn short
- astunparse looks abandoned: avoid it for new projects.
- google-pasta is archived: avoid it for new projects.
- astor is the most used: 8.3M downloads a month.
- astor also has the best Pythie’s Index (17).
Side by side
| Metric | astor | astunparse | google-pasta |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | 17 |