| 1 |
Source: astroid |
| 2 |
Section: python |
| 3 |
Maintainer: Debian Python Team <[email protected]> |
| 4 |
Uploaders: Daniel Echeverri <[email protected]>, |
| 5 |
Build-Depends: debhelper-compat (= 13), |
| 6 |
dh-sequence-python3, |
| 7 |
pybuild-plugin-pyproject, |
| 8 |
python3-all, |
| 9 |
python3-lazy-object-proxy (>= 1.4.0) <!nocheck>, |
| 10 |
python3-mypy <!nocheck>, |
| 11 |
python3-pip <!nocheck>, |
| 12 |
python3-pytest <!nocheck>, |
| 13 |
python3-pytest-runner <!nocheck>, |
| 14 |
python3-setuptools, |
| 15 |
python3-six <!nocheck>, |
| 16 |
python3-typing-extensions (>= 3.10.0) <!nocheck>, |
| 17 |
python3-wrapt <!nocheck>, |
| 18 |
Standards-Version: 4.7.4 |
| 19 |
Homepage: https://github.com/pylint-dev/astroid |
| 20 |
Vcs-Git: https://salsa.debian.org/python-team/packages/astroid.git |
| 21 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/astroid |
| 22 |
Testsuite: autopkgtest-pkg-pybuild |
| 23 |
|
| 24 |
Package: python3-astroid |
| 25 |
Architecture: all |
| 26 |
Depends: python3-typing-extensions, |
| 27 |
${misc:Depends}, |
| 28 |
${python3:Depends}, |
| 29 |
Breaks: pylint (<< 4.0.0), |
| 30 |
Description: rebuild a new abstract syntax tree from Python's AST (Python3) |
| 31 |
The aim of this module is to provide a common base representation of |
| 32 |
Python source code for projects such as pychecker, pyreverse, |
| 33 |
pylint... Well, actually the development of this library is essentially |
| 34 |
governed by pylint's needs. It used to be called logilab-astng. |
| 35 |
. |
| 36 |
It provides a compatible representation which comes from the `_ast` |
| 37 |
module. It rebuilds the tree generated by the builtin _ast module by |
| 38 |
recursively walking down the AST and building an extended ast. The new |
| 39 |
node classes have additional methods and attributes for different |
| 40 |
usages. They include some support for static inference and local name |
| 41 |
scopes. Furthermore, astroid builds partial trees by inspecting living |
| 42 |
objects. |
| 43 |
. |
| 44 |
Main modules are: |
| 45 |
. |
| 46 |
* `bases`, `node_classses` and `scoped_nodes` contain the classes for the |
| 47 |
different type of nodes of the tree. |
| 48 |
. |
| 49 |
* the `manager` contains a high level object to get astroid trees from |
| 50 |
source files and living objects. It maintains a cache of previously |
| 51 |
constructed tree for quick access. |
| 52 |
. |
| 53 |
python3-astroid is the new name of former python3-logilab-astng library. |