A package that generates a graph of dependencies using Graphviz
Project description
pip-viz
A script that generates an SVG image displaying the dependencies within a pip virtual environment.
Installation
pip-viz uses graphviz Python library to generate
a .gv file containing instructions written in Graphviz's
DOT language. The Graphviz application takes the instructions written in the
.gv file and generates an image.
The Graphviz application will need to be installed
separately. Linux, Windows, and Mac versions are available and the graphviz
executable dot will need to be on your PATH.
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 languagemy_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.
By default, pip-viz and it's dependencies as well as packages that are present in a newly created virtualenv will be ignored unless:
- The package is a dependency of a package which is not ignored
- The
-a(or--all) command line flag is used.
Changelog
0.0.7
- Ignoring pip-viz and its dependencies as well as packages that are present in a newly created virtualenv
0.0.6
- fixed project.scripts so package can be run using 'pip-viz'
0.0.5
- Refactored, added version numbers for packages.
- Added logging
- Created some tests
0.0.4
- Made this package pip installable
0.0.3
- Added graph attributes to make graph easier to read
0.0.2
- Fixed problem with duplicate notes
0.0.1
- Initial version
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pip_viz-0.0.7.tar.gz.
File metadata
- Download URL: pip_viz-0.0.7.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a3e717abfa10e5d2a07bba78211f77d472b3314bad87d241154722ba645361a
|
|
| MD5 |
2a93ef9c1290c53e7e21f524ba8f1508
|
|
| BLAKE2b-256 |
a3291c87bbb2a49f1f04e198b479aa2d00cb800fa4264d33feeb3ba24ae8e7ee
|
File details
Details for the file pip_viz-0.0.7-py3-none-any.whl.
File metadata
- Download URL: pip_viz-0.0.7-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8b9610b98031abfb529d4ff6ba86652be534658332db49dfd7755f84549865a
|
|
| MD5 |
bbfca4ef019a365cbedf1690275779a4
|
|
| BLAKE2b-256 |
d5e01b014d7c2ec4d13c7a2239769544516981eb6accbca6d4ef6dc8c55a0ec4
|