Skip to content

pycallgraph is a Python module that creates call graphs for Python programs.

License

Notifications You must be signed in to change notification settings

e-alizadeh/pycallgraph

 
 

Repository files navigation

CallGraph4Py

PyPI version Build and Test MIT License Code Style: Black


SonarCloud

Coverage Security Rating Vulnerabilities Maintainability Rating Reliability Rating Lines of Code

NOTE

This is a maintained fork of the excellent PyCallGraph project. The latest version is 1.0.1, and was released on 2013-09-17. The next release starts from 2.0.0 due to deprecating Python 2.

Quick Start

Installation is easy as:

pip install callgraph4py

Python Call Graph

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

Screenshots

Click on the images below to see a larger version and the source code that generated them.

image image image

Features

  • Support for Python 3.7+.
  • Static visualizations of the call graph using Graphviz.
  • Execute pycallgraph from the command line or import it in your code.
  • Customisable colors. You can programatically set the colors based on number of calls, time taken, memory usage, etc.
  • Modules can be visually grouped together.
  • Easily extendable to create your own output formats.

About

pycallgraph is a Python module that creates call graphs for Python programs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%