You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/html/reference/pip_show.rst
+162-2Lines changed: 162 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,50 @@ Options
25
25
.. pip-command-options:: show
26
26
27
27
28
+
Format
29
+
======
30
+
31
+
The various fields in the output and their explanation is as follows. Note that the keys in JSON format are lowercased.
32
+
The fields below are present in the METADATA file, which follows the specification
33
+
laid down in `PEP-241`_, `PEP-314`_ and `PEP-345`_, with the same name as the fields, unless otherwise noted
34
+
35
+
The following fields are exposed by default.
36
+
37
+
- Name: The name of the distribution.
38
+
- Version: A string containing the distribution's version number.
39
+
- Summary: A one-line summary of what the distribution does.
40
+
- Home-page: A string containing the URL for the distribution's home page.
41
+
- Author: A string containing the author's name at a minimum; additional contact information may be provided.
42
+
- Author-email: A string containing the author's e-mail address.
43
+
- License: Text indicating the license covering the distribution where the license is not a selection from the "License" Trove classifiers.
44
+
This field may also be used to specify a particular version of a license which is named via the Classifier field, or to indicate a variation or exception to such a license.
45
+
- Location: A string containing the path where the distribution is installed.
46
+
- Requires: Each entry contains a string describing some other module or package required by this package. (Requires-Dist in METADATA file)
47
+
- Required-by: Each entry contains a string describing some dependency in the system that the distribution is to be used.
48
+
This is fetched by listing all distributions for which this distribution is in Requires-Dist of their METADATA file.
49
+
50
+
In verbose mode you also have access to:
51
+
52
+
- Metadata-Version: Version of the file format
53
+
- Installer: Value to to keep track of who installed the distribution (Defined in he `INSTALLER`_ section of PEP-376)
54
+
- Classifiers: Each entry is a string giving a single classification value for the distribution.
55
+
- Entry-points: Components provided by the distribution to be discovered and used by other code (Defined in `entry point specifications`_ of Python Packaging User Guide)
56
+
57
+
Finally, in files mode, you have access to:
58
+
59
+
- Files: List of installed files by the distribution (Defined in the `RECORD`_ section of PEP-376)
0 commit comments