pycg
Practical Python Call Graphs
Practical Python Call Graphs
To install this package, run one of the following:
PyCG generates call graphs for Python code using static analysis.
It efficiently supports * Higher order functions * Twisted class inheritance schemes * Automatic discovery of imported modules for further analysis * Nested definitions
You can read the full methodology as well as a complete evaluation on the ICSE 2021 paper.
You can cite PyCG as follows. Vitalis Salis, Thodoris Sotiropoulos, Panos Louridas, Diomidis Spinellis and Dimitris Mitropoulos. PyCG: Practical Call Graph Generation in Python. In 43rd International Conference on Software Engineering, ICSE '21, 25–28 May 2021.
Summary
Practical Python Call Graphs
Last Updated
May 19, 2022 at 08:35
License
Apache License, Version 2.0, January 2004
Supported Platforms