Extract semantic information about static Python code
A static analyzer for Python2 and Python3 code.
Beniget provides a static over-approximation of the global and local definitions inside Python Module/Class/Function. It can also compute def-use chains from each definition.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.