Comparison
libcst vs openrewrite vs parso vs redbaron
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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 libcstOpenRewrite automated refactoring for Python.
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install openrewriteA Python Parser
Maintained. Last release 7 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install parsoAbstraction 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
- redbaron looks abandoned: avoid it for new projects.
- parso is the most used: 116.4M downloads a month, 3.3× more than libcst.
- openrewrite is better maintained: Pythie’s Index 86 against 53.
Side by side
| Metric | libcst | openrewrite | parso | redbaron |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 54 | 86 |