PKGINFO(1)
π pkginfo β print metadata for one or more Python package distributions π
okay bestie, welcome to PKGINFO(1), a manual page from the User Commands corner of the universe, and it's literally here to hand you the β¨metadataβ¨ of your Python packages. no cap. let's get into it π«Ά
πΈ 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. that's it. that's the whole vibe. β¨
now, each path entry you hand over can be one of these four things, and yes you have to actually know which one you've got, iykyk:
- a source distribution: in this case,
pathshould point to an existing archive file (.tar.gz,.tar.bz2, or.zip) as generated bysetup.py sdist. π - a binary distribution: in this case,
pathshould point to an existing archive file (.egg) π₯ - a "develop" checkout: in this case,
pathshould point to a directory initialized viasetup.py develop(under setuptools). the classic main character move tbh - an installed package: in this case,
pathshould be the importable name of the package. so like, the name you'd actuallyimport. periodt π
π OPTIONS π
so many little switches, and every single one of them is iconic in its own way:
-h,--helpβ show help message and exit. the "help me help you" button π«Ά-m METADATA_VERSION,--metadata-version=METADATA_VERSIONβ Override metadata version π₯-f FIELDS,--field=FIELDSβ Specify an output field (repeatable). yep, you can stack this one, go off π-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. the opposite energy π--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 β but only if the python-pkginfo-doc package is installed. so check first, bestie, don't come for me if that folder's not there π
okay that's the whole page!! go print some metadata, you absolute legend πβ¨
this lil masterpiece is pkginfo, dated March 2018, and it lives at PKGINFO(1) in the manuals. mwah, slay, bye ππ¦π
π¦ where this page comes from
- debian bookworm: python3-pkginfo 1.8.2-2 Β· MIT
- debian trixie: python3-pkginfo 1.12.1.2-2 Β· MIT
- ubuntu jammy: python3-pkginfo 1.8.2-1 Β· MIT
- ubuntu noble: python3-pkginfo 1.9.6-1 Β· MIT
- ubuntu resolute: python3-pkginfo 1.12.1.2-2 Β· MIT
- ubuntu stonking: python3-pkginfo 1.12.1.2-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms