Python Call Graph

Python Call Graph (pycallgraph) is a Python library that creates call graphs for Python programs
Download

Python Call Graph Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Gerald Kaszuba
  • Publisher web site:
  • http://pygooglechart.slowchop.com/

Python Call Graph Tags


Python Call Graph Description

Python Call Graph (pycallgraph) is a Python library that creates call graphs for Python programs Python Call Graph (pycallgraph) is a Python library that creates call graphs for Python programspycallgraph is quite new. It seems to work well and I will most likely improve it in the near future!Requirements:· graphvizInstallationpycallgraph works with Linux, Windows and Mac OS X. There are two ways of installing pycallgraph: If you have setuptools installed, simply run the following: easy_install pycallgraphOr, download the package shown below, extract it, hop into the directory and run: python setup.py installUsageThere is no documentation at the moment, apart from these instructions. There will be soon though! Just before your first line of code you want to graph, put in the following code: import pycallgraphpycallgraph.start_trace()To stop the trace and generate the graph, put in the following code (usually at the end of your program): pycallgraph.stop_trace()pycallgraph.make_graph('test.png')The default is to output in png with with the dot tool. You can change them by specifying arguments: pycallgraph.make_graph('test.jpg', format='jpg', tool='neato')What's New in This Release:· The "pycg" command line tool was renamed to "pycallgraph" due to naming conflicts with other packages.


Python Call Graph Related Software