-
Notifications
You must be signed in to change notification settings - Fork 3.3k
pip show --json #5261
Copy link
Copy link
Closed
Labels
C: list/show'pip list' or 'pip show''pip list' or 'pip show'type: docsDocumentation relatedDocumentation relatedtype: feature requestRequest for a new featureRequest for a new feature
Description
- Pip version: 10
- Python version: any
- Operating system: any
Description:
This is a feature request, related to #3568 and 4824, but made more necessary by the privatization of pip's internals: let pip show gain a --json flag (or --format=(humanreadable|json)) (also handling pip show --files) that outputs the result as json (or whatever other format you deem suitable, but pip list already has --format=json (hence the suggestion of --format=json instead of --json above). Otherwise, it becomes necessary to either parse the output of pip show, or to just copy-paste pip's implementation, in order to access the same metadata.
What I've run:
e.g.
pip show pip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C: list/show'pip list' or 'pip show''pip list' or 'pip show'type: docsDocumentation relatedDocumentation relatedtype: feature requestRequest for a new featureRequest for a new feature