Generates flowchart from Python functions.
Project description
py2flowchart
Generates flowchart from Python functions and python file.
让简单的Python函数或文件生成流程图
(流程图可用flowchart.js来显示,也可以用于typora等md文件中)
(在typora中用flow.....
表示流程图)
Examples
from py2flowchart import *
pyfile2flowchart("xxxx.py", "xxxx.html")
get_flowchart("if a>b:\n print(c)")
def myfun():
pass
get_flowchart(myfun)
FAQs
Which Python version? ... Using 3.x AST. This prog is very limited, it can use for "if,for,while" statement, but not for "break,continue"
Thanks
this programe was inspired by latexify_py
about
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py2flowchart-0.0.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for py2flowchart-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fa322d3b9aad278b8c53c8738b11b614edb4e8fa6630a6598242308e599dfee |
|
MD5 | 30888aa33e6a32cbf91d7ee893972ec3 |
|
BLAKE2b-256 | b721a0b92ac0092700b28e2d5a839a3ece112aa7a1e9d7a4beb7118f16ae6ff6 |