{"library":"ast-comments","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"1.3.0","tags":["AST","parser","comments","code analysis","refactoring"],"last_verified":"Sun May 24","install":[{"cmd":"pip install ast-comments","imports":["from ast_comments import parse","from ast_comments import unparse"]}],"homepage":null,"github":"https://github.com/t3rn0/ast-comments","docs":null,"changelog":null,"pypi":"https://pypi.org/project/ast-comments/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/ast-comments/compatibility"}}