CMD + K

asttokens

Anaconda Verified

The asttokens module annotates Python abstract syntax trees (ASTs) with the positions of tokens and text in the source code that generated them.

Installation

To install this package, run one of the following:

Conda
$conda install main::asttokens

Usage Tracking

3.0.0
2.0.5
2 / 8 versions selected
Downloads (Last 6 months): 0

Description

The asttokens module annotates Python abstract syntax trees (ASTs) with the positions of tokens and text in the source code that generated them. It provides a way to access the original source code from the AST, which can be useful for debugging, code analysis, and other tasks.

About

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

Apr 3, 2025 at 02:54

License

Apache-2.0

Total Downloads

35.1K

Version Downloads

12.0K

Supported Platforms

linux-64
linux-aarch64
macOS-64
macOS-arm64
win-64

Unsupported Platforms

noarch Last supported version: 2.0.5