Re: [BangPypers] Tools/libraries to determine the call graph(call flow) of an python program (module/package)

2016-01-12 Thread Vasudev Ram
Have you tried the trace module from the stdlib? https://docs.python.org/2/library/trace.html Has both a CLI and a lib you can use. See this example: http://jugad2.blogspot.tw/2013/06/pythons-trace-module-and-chained.html Also this:

[BangPypers] Tools/libraries to determine the call graph(call flow) of an python program (module/package)

2016-01-12 Thread ashish makani
Hi fellow bangalore pythonistas , I am trying to do the following. I have a moderately complex python module/application X, whose source code i have access to. I run X with the following command python x.py ... Internally, x.py callls y.py, which in turn calls z.py, etc etc x.py --->

Re: [BangPypers] Tools/libraries to determine the call graph(call flow) of an python program (module/package)

2016-01-12 Thread ashish makani
thanks & true Noufal, but 2 points : 1. i imagine this is a fairly common usecase you are given some source python codebase , X which is moderately complex i just want to give X & some typical args which X takes, to a tool/library, so i get a visual, rough understanding of the typical call flow

Re: [BangPypers] Tools/libraries to determine the call graph(call flow) of an python program (module/package)

2016-01-12 Thread Noufal Ibrahim KV
On Tue, Jan 12 2016, ashish makani wrote: > thanks & true Noufal, but 2 points : > > 1. i imagine this is a fairly common usecase > you are given some source python codebase , X which is moderately complex > > i just want to give X & some typical args which X takes, to a > tool/library, so i get

Re: [BangPypers] Tools/libraries to determine the call graph(call flow) of an python program (module/package)

2016-01-12 Thread Noufal Ibrahim KV
On Tue, Jan 12 2016, ashish makani wrote: [...] > Is there a python library/tool/module , to which i give input the start > point of X, x.py > and the input arguments, arg1, arg2, ..., argn I once needed something like this but went about it statically using this