e.g. JSON with -j. This is useful for interacting with graph tools such as mermaid.
Contributor guide
Tech stack
rustpython
Domain
clitooling
Issue type
feature
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
half day
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
active
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
Rust basicsUnderstanding of CLI toolsfamiliarity with serde and JSON in Rust
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
60
Research direction
Examine the existing `uv pip tree` implementation in `crates/uv cli/src/commands/pip/tree.rs`. Identify how other commands like `uv pip list` handle JSON output. Implement a ` json` flag that serializes the dependency tree to JSON using serde. Validate the output format against the requirements discussed in the issue comments.