asttokens

PyPI v3.0.1

26,425,451 weekly downloads · Apache-2.0 · 0 Dependencies

Zero dependencies

Source data as of:

Summary

Annotate AST trees with source code positions

Install pip install asttokens

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 26,425,451 Source: PyPI (Python Package Index)
Releases 35 Last release: 2025-11-15 Source: PyPI (Python Package Index)
Dependencies 0 Source: PyPI (Python Package Index)

Description

Annotate AST trees with source code positions

Registry-supplied description, cleaned to plain text. Source: PyPI (Python Package Index).

Package details

Package
asttokens
Registry
PyPI
Version
3.0.1
Weekly downloads
26,425,451 (weekly)
License
Apache-2.0
Dependencies
0
Releases
35
Last release
2025-11-15
First published
2016-12-10
Keywords
code, ast, parse, tokenize, refactor
Homepage
https://github.com/gristlabs/asttokens
Repository
https://github.com/gristlabs/asttokens

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 41.9 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 14.2 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 34.2 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources