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
What files are taken into account?
- .py
- .ipynb (Jupyter notebook)
How to use?
- cd to any directory you want
- Default outputs are in pdf
import functionvis
functionvis.mainrunner()
- Change the format of the outputs
import functionvis
functionvis.mainrunner(".", "svg")
- Run for another directory
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
- png
- svg
- jpg
- Others might work so just try
Examples
Check the repo for examples repo
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
Metadata
Release files for functionvis 0.1.6
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 |
|---|---|---|---|---|
| functionvis-0.1.6.tar.gz | 3.7 kB | Without provenance | Details for functionvis-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| functionvis-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for functionvis-0.1.6-py3-none-any.whl |
Total release size: 8.9 kB
Release files / functionvis-0.1.6.tar.gz
| Download URL | functionvis-0.1.6.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d805a8ed3aa466344f323e89705bc31075b1e03b2e7c647bda6f696b0c1a77d
|
|
BLAKE2b-256 checksum How to use checksums |
ea4503901ceb4d6c781989c0a8909ebeff759a29718c3ef18c5c42165df5e576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
|
Release files / functionvis-0.1.6-py3-none-any.whl
| Download URL | functionvis-0.1.6-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
750a4e25f5a789813076285aec692b25748b1e2ee0b1c6d2bea1411d6516f3f4
|
|
BLAKE2b-256 checksum How to use checksums |
0a6cb3a949832bb492ca23a96767045a07b10eb32cc36bebc6b557ee089225b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
|
Security for functionvis 0.1.6
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.