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
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-libcst | 1.8.6 |
| FreeBSD | devel/py-libcst | 1.9.0_2 |
| DragonFly | devel/py-libcst | 1.7.0 |
| MidnightBSD | devel/py-libcst | 1.8.6_1 |
| HardenedBSD | devel/py-libcst | 1.9.0_1 |
| GhostBSD | devel/py-libcst | 1.9.0_1 |
Install
Binary package:
pkg_add py3-libcst
From the ports tree:
cd /usr/ports/devel/py-libcst && make install