{"library":"libcst","type":"library","category":null,"description":"LibCST (Concrete Syntax Tree) is a Python library that parses Python 3.0 through 3.14 source code into a CST tree, preserving all formatting details like comments, whitespaces, and parentheses. It offers a compromise between an Abstract Syntax Tree (AST) and a traditional CST, designed for building automated refactoring (codemod) applications and linters. The current version is 1.8.6, and it maintains an active release cadence with frequent updates.","language":"python","status":"active","version":"1.8.6","tags":["CST","AST","code transformation","refactoring","linter","static analysis"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install libcst","imports":["import libcst as cst","from libcst import CSTVisitor","from libcst import CSTTransformer","from libcst import parse_module","from libcst.tool import dump"]}],"homepage":"https://libcst.readthedocs.io","github":"https://github.com/Instagram/LibCST","docs":"https://libcst.readthedocs.io/en/latest/","changelog":"https://github.com/Instagram/LibCST/blob/main/CHANGELOG.md","pypi":"https://pypi.org/project/libcst/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.3,"avg_import_s":0.63,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/libcst/compatibility"}}