BSD Ports

devel/py-asttokens 3.0.1 OpenBSD

annotate Python ASTs with source text and token information

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, lang/python

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
OpenBSDdevel/py-asttokens3.0.1 behind since 2026-09-10no data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDdevel/py-asttokens3.0.2 newestnone known-[email protected]2026-09-10
DragonFlydevel/py-asttokens2.4.1_1 behind since 2026-09-10none known-[email protected]-
MidnightBSDdevel/py-asttokens2.4.1_1 behind since 2026-09-10no 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_add py3-asttokens

From the ports tree:

cd /usr/ports/devel/py-asttokens && make install

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

Build dependencies 6
Run dependencies 1