BSD Ports

devel/py-asttokens 2.4.1_1 DragonFly

Annotate AST trees with source code positions

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
devel
Package size
42.5 KiB, 217.9 KiB installed

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 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.

In the other systems

The newest version among them is 3.0.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-asttokens2.4.1_1 behind since 2026-07-15none known-[email protected]-
FreeBSDdevel/py-asttokens3.0.2 newestnone known-[email protected]2026-09-10
OpenBSDdevel/py-asttokens3.0.1 behind since 2026-07-15no data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDlang/py-asttokens by name3.0.2 newestnone known-[email protected]2026-07-22
MidnightBSDdevel/py-asttokens2.4.1_1 behind since 2026-07-15no data-[email protected]-
HardenedBSDdevel/py-asttokens3.0.2 newestno data-[email protected]-
GhostBSDdevel/py-asttokens3.0.2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-asttokens

From DPorts:

cd /usr/dports/devel/py-asttokens && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2