Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Graph Dependencies

Project Description

Command line tools for generating Dependency Graphs in Gus.

This utility relies on GraphViz to generate visualizations.

On Mac you can install graphviz using brew. If brew is not installed, do the following:

  1. Go to the app store and install xcode…its free

  2. Go to a command line and paste:

    ruby -e “$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)”

With brew installed you can now install graphviz

brew install graphviz

If on windows, just go to http://www.graphviz.org/ and install the latest package.

Once graphviz is installed, you should make sure python is installed. On a mac, it should already be there, on windows go to http://www.python.org/ and install the package

With python installed, you need pip to install the packages you need. On a mac, you can just run

sudo easy_install pip

On windows, you will need ot install setuptools first and then run the command

easy_install pip

Finally, now that pip is installed you can install the package:

[sudo] pip install dependency_grapher

The script will be put in your path:

graph_dependencies.py

If you run the command by itself, it will log into gus and then create a graph for each team you are a member of with >0% allocation. If you type:

graph_dependencies.py -h

You will see the options available:

-t TEAMID - limit output to the specified team id -r RELEASE - limit output to a specified release -m THEMEID - graph all dependencies related to a theme -o - limit output to non-closed items

The command will place output in your current directory:

  • PDF
  • HTML
  • PNG
  • MAP
  • DOT

Graphs are color coded by status:

Red: Item is not being looked at (ie New, Deferred) Green: Item is completed or closed Yellow: Item is code complete or committed but not verified yet Orange: All other statuses (ie In progress, Prioritized)

Release History

Release History

This version
History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dependency_grapher-0.1.9-py2.7.egg (15.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Sep 22, 2015
dependency_grapher-0.1.9.tar.gz (5.9 kB) Copy SHA256 Checksum SHA256 Source Sep 22, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting