Contents

astroid 4.1.0

0

An abstract syntax tree for Python with inference support.

An abstract syntax tree for Python with inference support.

Stars: 573, Watchers: 573, Forks: 314, Open Issues: 180

The pylint-dev/astroid repo was created 10 years ago and the last code push was 16 hours ago.
The project is popular with 573 github stars!

How to Install astroid

You can install astroid using pip

pip install astroid

or add it to a project with poetry

poetry add astroid

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/astroid/
GitHub Repo:
https://github.com/PyCQA/astroid

Classifiers

  • Software Development/Libraries/Python Modules
  • Software Development/Quality Assurance
  • Software Development/Testing
No  astroid  pypi packages just yet.

Errors

A list of common astroid errors.

Code Examples

Here are some astroid code examples and snippets.

GitHub Issues

The astroid package has 180 open issues on GitHub

  • Bump actions/checkout from 6.0.1 to 6.0.2
  • Bump pylint-dev/backport from 2.1.1 to 2.1.2
  • Make JoinedStr nodes Uninferable when the FormattedValue is Uninferable.
  • pylint crushed in astroid 4.0.3
  • pre-commit pylint hook is a system hook
  • Implement equality constraint
  • Fix pathlib.Path.parents brain inference for variable assignments
  • pathlib.Path.parents brain doesn't handle when parents is assigned to a variable
  • astroid-4.0.0 does not resolve PySide6.QtCore.QTimer::timeout.connect
  • eval.__get__(1) should be an inference error
  • RecursionError with hundreds of consecutive unary operators
  • Create external plugin for popular library brains ?

See more issues on GitHub

Related Packages & Articles

flake8 7.3.0

the modular source code checker: pep8 pyflakes and co

asteval 1.0.8

Safe, minimalistic evaluator of python expression using ast module

ply 3.11

PLY is a 100% Python implementation of the common parsing tools lex and yacc.

lxml 6.0.2

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.