Comparison
libcst vs openrewrite 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 4 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install libcstOpenRewrite automated refactoring for Python.
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install openrewriteAbstraction 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.
- libcst is the most used: 36.7M downloads a month, 159× more than redbaron.
- openrewrite is better maintained: Pythie’s Index 86 against 52.
Side by side
| Metric | libcst | openrewrite | redbaron |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 52 | Pythie’s Index: 86 | Pythie’s Index: 13 |
| Verdict | Maintained | Actively maintained | Likely abandoned |
| Downloads / month | 36.7M | 97.6K | 231.1K |
| Downloads, month over month | -7% | -46% | +3% |
| GitHub stars | 2K | 4K | 726 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 529 | 0 | 52 |
| Last release | Jul 29, 2026 | Nov 28, 2026 | Mar 17, 2019 |
| Releases, 12 months | 1 | 2006 | 0 |
| Weeks with commits | 4 / 26 | 26 / 26 | 0 / 26 |
| Recent contributors | 23 | 12 | 13 |
| First release | Aug 2019 | Aug 2024 | Jun 2014 |
| Python versions | 3.9 – 3.15 | 3.12 – 3.13 | 3.3 – 3.4 |
| License | MIT | LicenseRef-Moderne-Source-Available | 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.