.. sectnum::
.. contents:: Table Of Contents
********
calltree
********
Show Callgraph of a given function
=======
Purpose
=======
The understanding of the codeflow in a larger source of codebase, requires to list the caller and callee relationships for a given function. For linux and unix developers, cscope has been the primary utitlity to search and browse through the code.
This utility uses the generated cscope database to list and display the
callgraph, which is stored in a image format.
=====
Usage
=====
Command Line
------------
Usage: python -m calltree [options] functionname
Options:
--version show program's version number and exit
-h, --help show this help message and exit
--everything Recursively show all callers and callees
-a, --showall Show all callers and callees
-c, --callers Recursively show all callers
-e, --callees Recursively show all callees
-l LEVEL, --level=LEVEL
Show Level of callers/callees
-f OUTPUTFORMAT, --format=OUTPUTFORMAT
output format jpg/png
-o OUTPUTDIR, --outputdir=OUTPUTDIR
Storage directory for output files
-d SOURCEDB, --db=SOURCEDB
cscope database (cscope.out)
.. code-block::
import calltree
f = calltree.calltree.calltree()
f.showtree()
f.showgraph()
Metadata
Release files for calltree 0.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| calltree-0.26.tar.gz | 4.8 kB | Without provenance | Details for calltree-0.26.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| calltree-0.26.linux-x86_64.exe | Details for calltree-0.26.linux-x86_64.exe |
Total release size: 71.5 kB
Release files / calltree-0.26.tar.gz
| Download URL | calltree-0.26.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40a166e743b8c42c88f617b8c1e6740a2a8c9bbfd76063d733960afe9144b545
|
|
BLAKE2b-256 checksum How to use checksums |
017076c09f86117b518299d3496c2366fd7ed035ac8bb7b843f413bf058bd70d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / calltree-0.26.linux-x86_64.exe
| Download URL | calltree-0.26.linux-x86_64.exe |
|---|---|
| Size | 66.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf78b181f624a145834504d8ed6550f96fa750788d8ef1a3db1d4fd33780421e
|
|
BLAKE2b-256 checksum How to use checksums |
bf0baadb383375f9ef766814b77ff7240632b745103ec100f688709356cf52c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for calltree 0.26
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.