Skip to main content

A package that generates a graph of dependencies using Graphviz

Project description

pip-viz

A script that generates an svg image the dependencies within a pip virtual environment. pip-viz uses graphviz Python library to generate a .gv file written in Graphviz's DOT language which is then fed into one of Graphviz's layout engines to render the diagram.

With your virtualenv active, install from the Python Package Index (PyPI) with the following command:

pip install pip-viz

Once installed, use the pip-viz executable to render a diagram for the current virtualenv. The syntax for this command is:

pip-viz my_app_dependencies

This command will generate two files in the current working directory:

  • my_app_dependencies.gv - The file that defines the graph in the DOT language
  • my_app_dependencies.gv.svg - An SVG image that you can view in your web browser. You can use the zoom, scroll, and find features of your browser to navigate the diagram.

Project details


Download files

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

Source Distribution

pip_viz-0.0.4.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

pip_viz-0.0.4-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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