Extract semantic information about static Python code
Maintained. Last release 3 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install benigetA static analyzer for Python 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.