Comparison
baron vs gritql vs libcst vs parso
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Full Syntax Tree for python to make writing refactoring code a realist task
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install baronPython bindings for GritQL
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install gritqlA 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 libcstA 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 parsoIn short
- baron looks abandoned: avoid it for new projects.
- gritql is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- parso is the most used: 116.4M downloads a month, 3.3× more than libcst.
- Maintenance is comparable: parso 53, libcst 52 on Pythie’s Index.
Side by side
| Metric | baron | gritql | libcst | parso |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | Pythie’s Index: 27 | Pythie’s Index: 52 | Pythie’s Index: 53 |
| Verdict | Likely abandoned | Slowing down | Maintained | Maintained |
| Downloads / month | 235.2K | 143.2K | 35.7M | 116.4M |
| Downloads, month over month | +6% | +0% | -6% | +7% |
| GitHub stars | 305 | – | 2K | 679 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 3 | 529 | 124 |
| Last release | Dec 9, 2021 | Oct 26, 2024 | Jul 29, 2026 | May 1, 2026 |
| Releases, 12 months | 0 | 0 | 1 | 2 |
| Weeks with commits | 0 / 26 | – | 4 / 26 | 3 / 26 |
| Recent contributors | 10 | – | 23 | 25 |
| First release | Mar 2014 | May 2024 | Aug 2019 | May 2017 |
| Python versions | 3.2 – 3.3 | 3.4 – 3.12 | 3.9 – 3.15 | 3.6 – 3.14 |
| License | LGPL-3.0 | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.