pyan
pyan copied to clipboard
Static call graph generator. The official Python 3 version. Development repo.
I'd like to generate a call graph for the following minimum working example: ``` def g(x): return x+2 def h(x): return x*7 def f(x): r = g(x) s = h(r)...
Thanks @Technologicat for this project, it's so useful and lightweight ! The latest commit happened a while ago, and 3 PRs have been waiting for a while. Is it still...
We need to support `ast.NamedExpr` a.k.a. the walrus operator (`name := value`). That's probably the only AST change that Pyan needs to be aware of. To be sure, check [GTS](https://greentreesnakes.readthedocs.io/en/latest/nodes.html),...
Is there official tutorial or document which is give more details than readme?
Hi, Recently I installed pyan and try to use it to generate a graph of my python script. Unfortunately I encountered an error. Here is my installation command and my...
Hi! So I upgraded from pyan 1.1.1 to 1.20 and after that, I'm getting the following error: ``` $ pyan3 taskAutom.py --uses --no-defines --colored --grouped --annotated --dot-rankdir LR --html >...
Before this commit, I would get the following error: ``` Traceback (most recent call last): File "/home/sam/.local/share/virtualenvs/.repos-OcsR-W1w/bin/pyan3", line 33, in sys.exit(load_entry_point('pyan3', 'console_scripts', 'pyan3')()) File "/home/sam/box/charmonium.cache/benchmark/.repos/pyan/pyan/main.py", line 206, in main v...
Hello, I am having problems integrating pyan in Sphinx. When I add the extension to conf.py as writen on this page: ```python extensions = [ ... "sphinx.ext.graphviz" "pyan.sphinx", ] ```...
pyan now visits down to the level of **functions**. If you can provide a parameter called `depth` or `level`, which enables users to get a package (or module) level of...
``` pyan *.py --uses --no-defines --colored --grouped --annotated --dot >myuses.dot ``` ``` Traceback (most recent call last): File "/home/darknight/.local/bin/pyan", line 143, in main() File "/home/darknight/.local/bin/pyan", line 115, in main v...