Metadata-Version: 2.1
Name: pipdot
Version: 0.2
Summary: Generate a graphviz dot file representing installed PyPI distributions.
Home-page: https://github.com/tanbro/pipdot
Author: liu xue yan
Author-email: liu_xue_yan@foxmail.com
License: BSD 3-Clause License
Keywords: pypi,pip,distribution,dist,graph,graphviz,dot,package,dependency,dependency-graph
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Software Development
Classifier: Intended Audience :: Developers
Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
Description-Content-Type: text/markdown
License-File: LICENSE

# pipdot

![GitHub](https://img.shields.io/github/license/tanbro/pipdot)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/tanbro/pipdot)
![PyPI](https://img.shields.io/pypi/v/pipdot)
![PyPI - Status](https://img.shields.io/pypi/status/pipdot)
![PyPI - License](https://img.shields.io/pypi/l/pipdot)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pipdot)

Generate a [GraphViz][] `dot` file representing installed [PyPI][] distributions.

## Installation

```sh
pip install pipdot
```

## Usage

A [pip][] `>=22.0` is needed.

Generate a [GraphViz][] `dot` file:

```sh
pipdot --show-extras-label 1.dot
```

Convert it to a `svg` (or other formats) image:

```sh
dot -T svg -O 1.dot
```

we'll get something like:

![assets/1.dot.svg](assets/1.dot.svg)

Run

```sh
python -m pipdot --help
```

for help messages

[PyPI]: https://pypi.org/
[pip]: https://pip.pypa.io/
[GraphViz]: https://graphviz.org/

# CHANGELOG

## 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

* Liu Xue Yan (<liu_xue_yan@foxmail.com>)

  [![liu_xue_yan@foxmail.com](https://www.gravatar.com/avatar/049d2fae1fd2df6439e87d1383d0276b)](mailto:liu_xue_yan@foxmail.com)


