asttokens
The asttokens module annotates Python abstract syntax trees (ASTs) with the positions of tokens and text in the source code that generated them.
The asttokens module annotates Python abstract syntax trees (ASTs) with the positions of tokens and text in the source code that generated them.
To install this package, run one of the following:
Summary
The asttokens module annotates Python abstract syntax trees (ASTs) with the positions of tokens and text in the source code that generated them.
Last Updated
Nov 17, 2025 at 20:07
License
Apache-2.0
Total Downloads
23.9M
Supported Platforms
GitHub Repository
https://github.com/gristlabs/asttokens