Skip to main content

Generate a graphviz dot file representing installed PyPI distributions.

Project description

pipdot

GitHub GitHub tag (latest by date) PyPI PyPI - Status PyPI - License PyPI - Python Version

Generate a GraphViz dot file representing installed PyPI distributions.

Installation

pip install pipdot

It's a zero-dependency package.

Usage

To generate a GraphViz dot file for distributions of current Python environment, we shall run:

pipdot --extras-label 1.dot

Then convert it to a svg (or other formats) image:

dot -T svg -O 1.dot

We'll get something like:

assets/1.dot.svg

For help messages, execute:

python -m pipdot --help

And we can use it by docker:

docker run -it --rm liuxueyan/pipdot -p "your-python-site-dir"

CHANGELOG

v0.3a2

Date: 2022-3-18

  • New:
    • Add "--python/-P" option
    • Add Dockerfile and docker hub repository "liuxueyan/pipdot"

v0.3a1

Date: 2022-2-28

  • Changes:

    • Now it's no longer dependent on pip during setup.

      The packaging/distribution features are now based on importlib-metadata and packaging, and all dependencies are vendored.

    • Command line interface was modified.

    • dot template slightly optimized.

v0.2

date: 2022-2-28

  • Update:

    • Update Jinja2 to >=2.0,<4.0
    • Update pip to >=22.0
  • Change:

    • Rename CLI argument outfile to output, and the default is stdout.
  • Add:

    • A new --installed-only CLI argument.
  • Optimize:

    • Better extras nodes and edges in dot template.
  • Remove:

    • Remove setuptools_scm_git_archive dependency in project building.

v0.1

date: 2021-2-5

AUTHORS

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

pipdot-0.3a2.tar.gz (280.5 kB view hashes)

Uploaded Source

Built Distribution

pipdot-0.3a2-py3-none-any.whl (305.6 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