</>PackageGraphPackageGraph

asttokens

PyPIv3.0.2

Annotate AST trees with source code positions

Safe to adopt

Yes — asttokens scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 60 days ago. 3 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 60 days ago. 3 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 28 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    Apache 2.0 — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding asttokens to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

28 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Python
python >=3.8

Used by

Popular packages that depend on asttokens.

Relationship graph

Dependencies (left) and dependents (right) of asttokens.

stack-dataasttokens
asttokens dependencies dependents

Frequently installed together

Release history

2 releases in the last two years, typically about 52 days apart.

Recent versions of asttokens
VersionPublishedSizeLicense
3.0.2latest2 months ago28 KBApache 2.0
3.0.19 months ago26 KBApache 2.0
3.0.01 year ago26 KBApache 2.0
2.4.12 years ago27 KBApache 2.0
2.4.03 years ago27 KBApache 2.0
2.3.03 years ago27 KBApache 2.0
2.2.13 years ago26 KBApache 2.0
2.2.03 years ago26 KBApache 2.0
2.1.03 years ago26 KBApache 2.0
2.0.84 years ago23 KBApache 2.0
2.0.74 years ago23 KBApache 2.0
2.0.64 years ago23 KBApache 2.0
2.0.55 years ago20 KBApache 2.0
2.0.46 years ago20 KBApache 2.0
2.0.36 years ago20 KBApache 2.0

Overview

asttokens is an PyPI package that annotate AST trees with source code positions. It has 1 known dependents in the graph. The latest version is 3.0.2, released under the Apache 2.0 license.

Who should use it

Teams working in the PyPI ecosystem who need annotate AST trees with source code positions and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.

Pros

  • Clear open-source license (Apache 2.0).
  • Zero runtime dependencies — minimal footprint.

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use asttokens?

Yes — asttokens scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 60 days ago. 3 releases in the last 2 years.

How do I install asttokens?

Run `pip install asttokens` to add asttokens to your PyPI project.

What license is asttokens released under?

asttokens is distributed under the Apache 2.0 license.

How popular is asttokens?

PyPI does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on asttokens.

Is asttokens still maintained?

The most recent release of asttokens (v3.0.2) was published 2 months ago.