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
Metadata
Release files for pip-viz 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pip_viz-0.0.7.tar.gz | 5.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pip_viz-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / pip_viz-0.0.7.tar.gz
| Download URL | pip_viz-0.0.7.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a3e717abfa10e5d2a07bba78211f77d472b3314bad87d241154722ba645361a
|
|
BLAKE2b-256 checksum How to use checksums |
a3291c87bbb2a49f1f04e198b479aa2d00cb800fa4264d33feeb3ba24ae8e7ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.8.10
|
Release files / pip_viz-0.0.7-py3-none-any.whl
| Download URL | pip_viz-0.0.7-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8b9610b98031abfb529d4ff6ba86652be534658332db49dfd7755f84549865a
|
|
BLAKE2b-256 checksum How to use checksums |
d5e01b014d7c2ec4d13c7a2239769544516981eb6accbca6d4ef6dc8c55a0ec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.8.10
|
Security for pip-viz 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.