---
name: "pkginfo"
section: "1"
platform: "linux"
package: "python3-pkginfo"
version: "1.12.1.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pkginfo"
---

# pkginfo(1)

print metadata for one or more Python package distributions

## NAME

pkginfo - print metadata for one or more Python package distributions

## SYNOPSIS

- **pkginfo \[options\]** *path ...*

  ## DESCRIPTION

- Print the metadata for one or more Python package distributions.

  Each 'path' entry can be one of the following:

\- a source distribution:  in this case, 'path' should point to an existing\
   archive file (.tar.gz, .tar.bz2, or .zip) as generated by 'setup.py sdist'.

\- a binary distribution:  in this case, 'path' should point to an existing\
   archive file (.egg)

\- a "develop" checkout:  in this case,  'path' should point to a directory\
   initialized via 'setup.py develop' (under setuptools).

\- an installed package:  in this case, 'path' should be the importable name of\
   the package.

## OPTIONS

- \-h, --help

  show help message and exit

- \-m METADATA\_VERSION, --metadata-version=METADATA\_VERSION

  Override metadata version

- \-f FIELDS, --field=FIELDS

  Specify an output field (repeatable)

- \-d DOWNLOAD\_URL\_PREFIX, --download-url-prefix=DOWNLOAD\_URL\_PREFIX

  Download URL prefix

- \--simple

  Output as simple key-value pairs

- \-s, --skip

  Skip missing values in simple output

- \-S, --no-skip

  Don't skip missing values in simple output

- \--single

  Output delimited values

- \--item-delim=ITEM\_DELIM

  Delimiter for fields in single-line output

- \--sequence-delim=SEQUENCE\_DELIM

  Delimiter for multi-valued fields

- \--csv

  Output as CSV

- \--ini

  Output as INI

## SEE ALSO

The full documentation for **pkginfo** is available in /usr/share/doc/python-pkginfo-doc/html if the python-pkginfo-doc package is installed
