Questions tagged [pycallgraph]

Python Call Graph is a Python module that creates call graph visualizations for Python applications.

Python Call Graph is a Python module that creates call graph visualizations for Python applications.

http://pycallgraph.slowchop.com/en/master/

22 questions
0
votes
2 answers

Using pycallgraph failed in python3.7 conda virtual envirenment

I want to use pycallgraph tool to track the functions call, but errors occur as below: Traceback (most recent call last): File "example.py", line 15, in graphviz = GraphvizOutput() File…
0
votes
0 answers

using %callgraph together with lru_cache without decorator

Setup (on Notebook / Colab) # Install !pip install callgraph # We will also use from functools import lru_cache %load_ext callgraph In Python 3.x , if I do @lru_cache(maxsize=128) def factorial(n): return n * factorial(n-1) if n else…
0
votes
0 answers

Why does PyCallGraph2 describe itself while profiling "Hello, World"?

Suppose we have the following file labelled hello.py: print('Hello, World.') and we run PyCallGraph on it: $ pycallgraph graphviz hello.py Hello, World. which produces the file pycallgraph.png which we can inspect: Is there a use case or…
Galen
  • 1,128
  • 1
  • 14
  • 31
0
votes
0 answers

python Pycallgraph3 on windows 10 giving error

I am trying to generate a python call graph using pycallgraph3. I have installed graphviz windows binary also but i cannot get pycallpraph3 to work. Below is the error I am getting. PS…
0
votes
1 answer

PyCallGraph's GlobbingFilter does not work?

I am using pycallgraph (from within a jupyter notebook) to understand the codebase I'm working on. For some reason, the GlobbingFilter does not seem to work - I can't exclude things using the GlobbingFilter from pycallgraph import PyCallGraph,…
MYK
  • 1,988
  • 7
  • 30
0
votes
2 answers

build a call graph (json as a output) in python?

My problem statement is that i want a call graph of a code in JSON format. i went through through different packages of python like coverage , pycallgraph ,callgraph ,unittest but none of them were giving output as JSON. pycallgraph was close to…
RANJAN KUMAR
  • 21
  • 1
  • 1
  • 7
0
votes
1 answer

How do you install PyCallGraph / use pip?

and thanks to anyone who gives some of their time to consider my problem. What I need help on is for someone to give me a simple and accessible explanation on how to install that module. I have never, ever used anything from PyPi before, I have only…
inirlan
  • 18
  • 1
  • 8
1
2