globbing_filter.GlobbingFilter

Selects which functions are traced, using fnmatch patterns. Exclusions are checked first, then inclusions; anything matching neither is excluded.

class pycallgraph.globbing_filter.GlobbingFilter(include=None, exclude=None)[source]

Filter module names using a set of globs.

Objects are matched against the exclude list first, then the include list. Anything that passes through without matching either, is excluded.

grouper.Grouper

Assigns each traced function to a group, which controls how nodes are grouped in the rendered graph. By default the top-level module name is used.

class pycallgraph.grouper.Grouper(groups=None)[source]

Group module names.

By default, objects are grouped by their top-level module name. Additional groups can be specified with the groups list and all objects will be matched against it.