CodeTools

This library contains classes that allow defining simple snippets, or “blocks”, of Python code, analyze variable dependencies in the code block, and use these dependencies to construct or restrict an execution graph. These code blocks can then be executed in any namespace.