pyan
cookbook
pyan | cookbook | |
---|---|---|
4 | 1 | |
312 | 279 | |
- | 1.1% | |
3.7 | 5.8 | |
3 months ago | 16 days ago | |
Python | Python | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyan
-
Ask HN: Anyone use a code to mindmap/flowchart tool?
Are you looking for something like a call graph?
There's pyan3 [1] which although doesn't support python 3.7+, I've still had luck with v1.0.4 which works better for me than its most recent version with python 3.11, but there can be some weird issues though depending on your code style.
A quick search also turned up crabviz [2] which has support for more languages than just python.
[1] https://github.com/Technologicat/pyan
[2] https://github.com/chanhx/crabviz
- Looking for app that visualizes python program
- GitHub - Technologicat/pyan: Static call graph generator. The official Python 3 version. Development repo.
- Pyan: Static call graph generator. The official Python 3 version
cookbook
-
Ask HN: Anyone use a code to mindmap/flowchart tool?
https://github.com/viewflow/cookbook/blob/main/guardian_perm...
Wikipedia mentions security concerns with low-code and no-code apps; and it's rare to impossible for a tool to support round-trip from code -> diagram UI -> code. And the test for isomorphism or functional equivalenve after normalization.
https://news.ycombinator.com/item?id=39139198 :
> All program evolution algorithms tend to produce bloated, convoluted, redundant programs ("spaghetti code"). To avoid this, MOSES performs reduction at each stage, to bring the program into normal form. The specific normalization used is based on Holman's "elegant normal form", which mixes alternate layers of linear and non-linear operators. The resulting form is far more compact than, say, for example, boolean disjunctive normal form. Normalization eliminates redundant terms, and tends to make the resulting code both more human-readable, and faster to execute.
"Elements of an expert system for determining the satisfiability of general Boolean expressions" (1990)
What are some alternatives?
SmoothStream - Webcam, PiCamera streaming over the network with Python made easy.
pyinstrument - 🚴 Call stack profiler for Python. Shows you why your code is slow!
mcpyrate - Advanced macro expander and language lab for Python.
hunter - Hunter is a flexible code tracing toolkit.
snoop - A powerful set of Python debugging tools, based on PySnooper
pydeps - Python Module Dependency graphs
heartrate - Simple real time visualisation of the execution of a Python program.