LibCST
JSON →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.
Traffic · last 30 days ↑0% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 2d ago Bingbot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇬🇧 United Kingdom · 🇪🇸 Spain · 🇨🇦 Canada
Resources
packagepypi.org/project/libcst/ ↗
API endpoints
full doc /v1/registry/libcst
install /v1/registry/libcst/install
compatibility /v1/registry/libcst/compatibility