Skip to main content

Display module dependencies

Project description

.. -*- coding: utf-8 -*-


pydeps
======

.. image:: https://travis-ci.org/thebjorn/pydeps.svg
:target: https://travis-ci.org/thebjorn/pydeps


.. image:: https://coveralls.io/repos/thebjorn/pydeps/badge.png
:target: https://coveralls.io/r/thebjorn/pydeps



Python Dependency visualization. This package installs the ``pydeps``,
and normal usage will be to use it from the command line.

To create graphs you need to install Graphviz_ (make sure the ``dot``
command is on your path).

.. Note:: to display the resulting `.svg` files, it currently calls
``firefox foo.svg``. This is a bug/limitation that will
hopefully be fixed soon'ish. I would suggest creating a
script file called ``firefox`` that redirects to your
favorite viewer if you can't use ``firefox``. Pull requests
are very welcome.

This is the result of running ``pydeps`` on itself (``pydeps --show pydeps``):

.. image:: https://dl.dropboxusercontent.com/u/94882440/pydeps.svg

``pydeps`` also contains an Erd__s-like scoring function (a.k.a. Bacon number,
from `Six degrees of Kevin Bacon`_[2]) that lets you filter out modules that
are more than a given number of 'hops' away from the module you're interested in.
This is useful for finding the interface a module has to the rest of the world.


.. _Graphviz: http://www.graphviz.org/Download.php

.. _[2]:: http://en.wikipedia.org/wiki/Six_Degrees_of_Kevin_Bacon

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pydeps-0.9.10-py2-none-any.whl (23.0 kB view details)

Uploaded Python 2

File details

Details for the file pydeps-0.9.10-py2-none-any.whl.

File metadata

File hashes

Hashes for pydeps-0.9.10-py2-none-any.whl
Algorithm Hash digest
SHA256 2cf8ee4236f2d6040695bd543d15b8ad6f3348a1b329fd0456014eb0ab16c09a
MD5 4805c30068dbd6017bc5835e5e71d924
BLAKE2b-256 e80bd29f8031c8bd86180bade4acd62e83d50e9cac602266f6f4907f398a46c4

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page