Astroid is the new name for the former logilab-astng python package, the core of the pylint code checker.


Compatible with python's _ast package

  • rebuilds the tree generated by the builtin _ast module by recursively walking down the AST and building an extended ast,

Extended nodes

  • new node classes have additional methods and attributes for different usages,

Static inference

  • astroid includes some support for static inference and local name scopes,

Inspect living objects

  • astroid builds partial trees by inspecting living objects.,


The Astroid library doesn't understand your code? Contribute a patch to pylint-brain

using Git

git clone

Commercial Services

Contact Logilab for commercial services about Pylint and Astroid

You have a company providing services with Pylint or Astroid? Contact us to get listed here.