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 stale · no recent hits
total hits 28
actors 6 distinct systems
last hit 17d ago ByteDance
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · CL
API endpoints
full doc /v1/registry/ast-comments
compatibility /v1/registry/ast-comments/compatibility