astroid
Abstract Syntax Tree for logilab packages
The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse, pylint... Well, actually the development of this library is essentially governed by pylint's needs. It provides a compatible representation which comes from the _ast module. It rebuilds the tree generated by the builtin _ast module by recursively walking down the AST and building an extended ast (let's call it astng ;). The new node classes have additional methods and attributes for different usages. They include some support for static inference and local name scopes. Furthermore, astng builds partial trees by inspecting living objects.
homepage ↗homepage ↗ pypi: astroid github: pylint-dev/astroid
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| gentoo gitweb ↗ | 4.1.2 | 2 | 17 h | details › |
| HomeAssistantRepository GitHub ↗ | 3.3.5 | 2 | 10 mo | details › |
Versions & arches
| Version | Overlay | amd64 | arm64 | x86 | ppc64 | riscv | alpha | arm | hppa | loong | m68k | mips | ppc | s390 | sparc | Committed | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4.1.2 | gentoo | amd64 stable | arm64 stable | x86 stable | ppc64 stable | riscv testing | alpha testing | arm stable | hppa testing | loong testing | m68k testing | mips testing | ppc stable | s390 testing | sparc testing | — | view · download · history ↗ |
| 4.0.4 | gentoo | amd64 stable | arm64 stable | x86 stable | ppc64 stable | riscv testing | alpha testing | arm stable | hppa testing | loong testing | m68k testing | mips testing | ppc stable | s390 testing | sparc testing | — | view · download · history ↗ |
| 3.3.5 ≈ | HomeAssistantRepository | amd64 stable | arm64 stable | x86 stable | ppc64 untested | riscv untested | alpha untested | arm stable | hppa untested | loong untested | m68k untested | mips untested | ppc untested | s390 untested | sparc untested | 17 mo | view · download · history ↗ |
| 3.3.4 ≈ | HomeAssistantRepository | amd64 stable | arm64 stable | x86 stable | ppc64 untested | riscv untested | alpha untested | arm stable | hppa untested | loong untested | m68k untested | mips untested | ppc untested | s390 untested | sparc untested | 21 mo | view · download · history ↗ |
Use flags of 4.1.2
- test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
- verify-provenance Verify provenance of PyPI distfiles (verifies that the artifact comes from upstream source repository)
4 expansion flags (python targets, ABIs, cpu flags…)
- python_targets_python3_12
- python_targets_python3_13
- python_targets_python3_14
- python_targets_python3_15