Module to annotate Python abstract syntax trees with source code positions
87.28 KB
built 2026-10-17 06:58:58 GMT
Description
The asttokens module annotates Python abstract syntax trees (ASTs) with the
positions of tokens and text in the source code that generated them. This makes
it possible for tools that work with logical AST nodes to find the particular
text that resulted in those nodes, for example for automated refactoring or
highlighting.
Dependencies
19 totalRequires18
- (python3dist(astroid) < 5~~ with python3dist(astroid) >= 2)
- (python3dist(tomli) if python3-devel < 3.11)
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(pytest)
- python3dist(pytest-xdist)
- python3dist(setuptools) >= 44
- python3dist(setuptools-scm) >= 3.4.3
- python3dist(setuptools-scm[toml]) >= 3.4.3
- python3dist(wheel)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
- rpmlib(TildeInVersions) <= 4.10.0-1
Provides1
- python3-asttokens = 3.0.1-4.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| asttokens-3.0.1.tar.gz | 55.84 KB |
| python-asttokens.spec | 8.64 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
