ast-comments
JSON →ast-comments is an extension to Python's built-in `ast` module that preserves comments in the Abstract Syntax Tree. It finds comments in source code and includes them as nodes in the parsed AST, which the standard `ast` module discards. The library is currently active, at version 1.3.0, and maintains a regular release cadence to support new Python features and address issues.
Traffic · last 30 days ↑17% vs prev 7d
total hits 53
actors 10 distinct systems
last hit 1d ago Amazonbot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada
API endpoints
full doc /v1/registry/ast-comments
compatibility /v1/registry/ast-comments/compatibility