-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPKG-INFO
More file actions
87 lines (68 loc) · 2.61 KB
/
Copy pathPKG-INFO
File metadata and controls
87 lines (68 loc) · 2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
Metadata-Version: 2.1
Name: functionvis
Version: 0.1.6
Summary: Visualize all functions and classes in a directory
Home-page: https://github.com/SubhadityaMukherjee/functionFinder
Author: Subhaditya Mukherjee
Author-email: [email protected]
License: MIT
Description: # Function Finder
Have a complex library?
Want to either understand someone elses or make your library easier to understand?
What if you could generate a detailed graph of all the functions and classes in your package. Including links between common functions in multiple files. Now you can
# External requirements
- This requires the [graphviz library](https://graphviz.org/download/)
# What files are taken into account?
- .py
- .ipynb (Jupyter notebook)
# How to use?
- cd to any directory you want
- Default outputs are in pdf
```py
import functionvis
functionvis.mainrunner()
```
- Change the format of the outputs
```py
import functionvis
functionvis.mainrunner(".", "svg")
```
- Run for another directory
```py
import functionvis
functionvis.mainrunner("path-to-dir", "svg")
```
# Outputs
- Graph of all functions/classes and their related links
- Relationships between files
- functions.pdf (With all the functions)
- classes.pdf (With all the classes)
- Extension can be configured
- Saved in project dir
# Outputs supported
- pdf
- png
- svg
- jpg
- Others might work so just try
# Examples
Check the repo for examples
[repo](https://github.com/SubhadityaMukherjee/functionFinder)
# FAQ
## Not Working
- Have you installed graphviz?
- Do you have jupytext and graphviz installed
- Are you trying for python files?
## Windows?
- I cant check the compatibility but it should work
## Where are the outputs?
- Wherever you opened python from
- Or wherever you put the first argument from
## Can I convert this to other languages?
- Yes please. Contributions are welcome
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown