๐Ÿ“ฆ anlutro / pycodegraph

Unmaintained. A good alternative: https://github.com/thebjorn/pydeps

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ GNU General Public License v3.0
๐Ÿ“ฅ Clone https://github.com/anlutro/pycodegraph.git
HTTPS git clone https://github.com/anlutro/pycodegraph.git
SSH git clone git@github.com:anlutro/pycodegraph.git
CLI gh repo clone anlutro/pycodegraph
Andreas Lutro Andreas Lutro Delete .travis.yml 0a8456e 4 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ pycodegraph
๐Ÿ“ tests
๐Ÿ“„ .gitignore
๐Ÿ“„ .pylintrc
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ setup.py
๐Ÿ“„ README.md

pycodegraph - Python code graphing tool

A tool/framework for analysing and graphing Python code.

Currently only supports graphing of imports, but hopefully more to come.

Installing

Install via pip (preferably into your project's virtualenv):

pip install pycodegraph

Usage

Create a dot graph of your code and render it using dot:

pycodegraph imports --depth=1 ./my_code | dot -Tsvg > mygraph.svg

Usually you'll want to adjust the depth depending on project size and/or number of submodules.

There is also --include and --exclude for more fine grained control over what gets included in the graph.

License

The contents of this repository are released under the GPL v3 license. See the LICENSE file included for more information.