tox-dev/pipdeptree
소개
설치된 Python 패키지의 의존성 트리를 표시하는 명령줄 유틸리티
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +2
- in 1 month
- +4
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalpipdeptree
pipdeptree displays installed Python packages as a dependency tree.
pip freeze shows a flat list; pipdeptree adds parent-child
relationships and reports dependency conflicts or cycles.
Quick start
pip install pipdeptree
pipdeptree
Flask==0.10.1
┣━━ ✓ itsdangerous required: >=0.21 installed: 0.24
┣━━ ✓ Jinja2 required: >=2.4 installed: 2.11.2
┃ ┗━━ ⚠ MarkupSafe required: >=0.23 installed: 0.22
┗━━ ✓ Werkzeug required: >=0.7 installed: 0.11.2
Find packages that require a dependency:
pipdeptree --reverse --packages markupsafe
Output as JSON, Mermaid, or Graphviz:
pipdeptree -o json
pipdeptree -o cyclonedx-json > environment.cdx.json
pipdeptree -o mermaid
pipdeptree -o graphviz-svg > deps.svg
Report package counts, depth, conflicts, cycles, licenses and size:
pipdeptree --summary # aligned text
pipdeptree --summary -o rich # styled table
pipdeptree --summary -o json # machine-readable
Inspect a tree without installing it. Resolve requirements against a package index, or read a resolved PEP 751 lock offline:
pipdeptree from-index "flask" # i is a shorthand alias
pipdeptree from-index --requirements requirements.txt
pipdeptree from-lock pylock.toml # l is a shorthand alias
Export a CycloneDX 1.5 JSON SBOM from any of these dependency sources with -o cyclonedx-json.
The render flags above, including --summary, work with both subcommands.
For the full documentation, visit pipdeptree.readthedocs.io.
관련 프로젝트 살펴보기
불러오는 중…