title: Python Library Dependency graph
body: <p>I know other forms of this question exist and the one that looks the closest to what I am trying to do is here: (<a href="https://stackoverflow.com/questions/8610155/tools-for-drawing-python-dependancy-graph/8611730#8611730">https://stackoverflow.com/questions/8610155/tools-for-drawing-python-dependancy-graph/8611730#8611730</a>).  </p>
  
  <p>However, what I am trying to do, is a library dependency tree for a Django project given a particular <code>requirements.txt</code> file that could contain pypi libs such as:</p>
  
  <pre><code>django-braces==1.1.0
  </code></pre>
  
  <p>...or could contain references to github like:</p>
  
  <pre><code>-e git+git@github.com:epicowl/django-chosen-ajax.git@fa51ad93e883cb22a0fe46135ddfd3c6e90b57fd#egg=django-chosen-ajax
  </code></pre>
  
  <p>I also want to be able to report what libraries those depend on as well (walking the tree).  I don't care about a call graph, only strictly dependencies.  It looks like most packages like snakefood do both module and library dependencies and I only care about libraries (and their versions) that are being included in the project.  </p>
  
  <p>I have the project in a virtualenv and can use pip freeze to find out all libraries that are installed, but does not show me where the dependencies are and also only gives me the SHA for the libs from github instead of a version number.</p>
  
  <p>Any ideas would be appreciated.</p>
  
  <p>Thanks!</p>