pycallgraph-visualizer 1.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pycallgraph_visualizer/__init__.py +29 -0
- pycallgraph_visualizer/analyzer.py +1523 -0
- pycallgraph_visualizer/cli.py +181 -0
- pycallgraph_visualizer-1.0.1.dist-info/METADATA +36 -0
- pycallgraph_visualizer-1.0.1.dist-info/RECORD +9 -0
- pycallgraph_visualizer-1.0.1.dist-info/WHEEL +5 -0
- pycallgraph_visualizer-1.0.1.dist-info/entry_points.txt +2 -0
- pycallgraph_visualizer-1.0.1.dist-info/licenses/LICENSE +21 -0
- pycallgraph_visualizer-1.0.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""
|
|
2
|
+
PyCallGraph Visualizer
|
|
3
|
+
======================
|
|
4
|
+
|
|
5
|
+
Visualize Python code dependencies with interactive call graphs.
|
|
6
|
+
|
|
7
|
+
Features:
|
|
8
|
+
- Circular dependency detection
|
|
9
|
+
- Dead code identification
|
|
10
|
+
- Complexity metrics
|
|
11
|
+
- Entry point detection
|
|
12
|
+
- Interactive HTML visualization
|
|
13
|
+
|
|
14
|
+
Usage:
|
|
15
|
+
# From command line
|
|
16
|
+
$ pycallgraph
|
|
17
|
+
$ pycallgraph /path/to/project
|
|
18
|
+
|
|
19
|
+
# From Python
|
|
20
|
+
from pycallgraph_visualizer import analyze_directory, generate_html_graph
|
|
21
|
+
|
|
22
|
+
result = analyze_directory('/path/to/project')
|
|
23
|
+
generate_html_graph(result, 'output.html', '/path/to/project')
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
from .analyzer import analyze_directory, generate_html_graph
|
|
27
|
+
|
|
28
|
+
__version__ = '1.0.0'
|
|
29
|
+
__all__ = ['analyze_directory', 'generate_html_graph']
|