BSD Ports

devel/py-libcst 1.8.6 OpenBSD

concrete syntax tree with AST-like properties for Python

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

Description

LibCST is a Concrete Syntax Tree (CST) parser and serializer library for Python. It parses Python 3.0 -> 3.13 source code as a CST tree that keeps all formatting details (comments, whitespaces, parentheses, etc). It's useful for building automated refactoring (codemod) applications and linters.

In the other systems

SystemPortVersion
OpenBSDdevel/py-libcst1.8.6
FreeBSDdevel/py-libcst1.9.0_2
DragonFlydevel/py-libcst1.7.0
MidnightBSDdevel/py-libcst1.8.6_1
HardenedBSDdevel/py-libcst1.9.0_1
GhostBSDdevel/py-libcst1.9.0_1

Install

Binary package:

pkg_add py3-libcst

From the ports tree:

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

Dependencies

Build dependencies 9
Run dependencies 1