Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Analyze and make graphs from Python code.

Project description

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

MIT license. See LICENSE for full text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pycodegraph, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pycodegraph-0.1.2.tar.gz (6.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page