r/Python • u/RomfordNavy • Oct 29 '26
Discussion Alternative to libCST
Looking for a suggestion of an alternative CST parser to libcst. Have been trying to install libcst for over two days now but still unable to do so, I think the issue might be that there is no PyYaml `wheel` for Python 3.15.
So now wondering if there might be some other alternative CST parser available. I need to parse comments as well as other code so standard AST won't work as far as I know.
16
Upvotes
View all comments
Show parent comment
-3
u/RomfordNavy Oct 29 '26
Not so easy to do in this case as code relies on lazy imports which didn't exist in 3.14.