astcheck 0.2¶
astcheck is a module for checking a Python Abstract Syntax Tree against a template. This is useful for testing code that automatically generates or modifies Python code.
For more details about the structure of ASTs, see my documentation project, Green Tree Snakes.