PyCG
PyCG copied to clipboard
Static Python call graph generator
Hi, @vitsalis I wanna exploit PyCG to analyze the following code: def foo(): pass class TensorSliceDataset: def __init__(self): pass def __call__(self, tensors, name): pass def repeat(self): pass def shuffle(self, buffer_size):...
when I test "NumPy" library, I made a special judgment on the ".so" binary files, so that pycg can skip the processing of these files and only parse the python...
Hello, it costs me tooooo much time to analyze deep learning packages(numpy, tensorflow, etc.), which is unacceptable. Do you have any idea about optimizing PyCG to reduce its running time?...
Hello, I have read your work "PyCG: Practical Call Graph Generation in Python", and think it is very nice and insightful. But when I try to generate a py file's...
I tried running the command pycg --package scipy $(find scipy -type f -name "*.py") -o scipy.json Where i downloaded pycg using sudo pip install pycg And i create a folder...
After installing pycg using pip, I get the following traceback when trying to run on a sample code. ``` Traceback (most recent call last): File "/home/kyle/.local/bin/pycg", line 8, in sys.exit(main())...
Hello, there is a bug in your code, I'm looking forward that you can fix it as soon as possible. The detailed information is listed as below: **1. Bug Description:**...
I cannot use PYCG to detect Pandas or PyTorch, it seems that it takes so long that I quit the program
Notebook files (.ipynb) contain python code, but ipynb files may contain unusual symbols. Especially "%" or "!" at the beginning of the code. This forces AST module to throw an...
Hi, is it possible to use PyCG in a Python script? I would like to analyze Tensorflow's python scripts which consist of 2800 python files. I would like to iterate...