Skip to main content

Query metadatdata from sdists / bdists / installed packages.

Project description

pkginfo README

This package provides an API for querying the distutils metadata written in the PKG-INFO file inside a source distriubtion (an sdist), or into the EGG-INFO directory of an installed distribution.

Please see http://packages.python.org/pkginfo/ for detailed documentation.

pkginfo Changelog

0.4.1 (2009-05-07)

  • Fixed bugs in handling of installed packages which lack __file__ or PKG-INFO.

0.4 (2009-05-07)

  • Extended the console script to allow output as CSV or INI. Also, added arguments to specify the metadata version and other parsing / output policies.

  • Added support for the different metadata versions specified in PEPs 241, 314, and 345. Distributions now parse and expose only the attributes corresponding to their metadata version, which defaults to the version parsed from the PKG-INFO file. The programmer can override that version when creating the distribution object.

0.3 (2009-05-07)

  • Added support for introspection of “development eggs” (checkouts with PKG-INFO, perhaps created via setup.py develop).

  • Added a console script, pkginfo, which takes one or more paths on the command line and writes out the associated information. Thanks to runeh for the patch!

  • Added ‘get_metadata’ helper function, which dispatches a given path or module across the available distribution types, and returns a distribution object. Thanks to runeh for the patch!

  • Made distribution objects support iteration over the metadata fields. Thanks to runeh for the patch!

  • Made Distribution and subclasses new-style classes. Thanks to runeh for the patch!

0.2 (2009-04-14)

  • Added support for introspection of bdist_egg binary distributions.

0.1.1 (2009-04-10)

  • Fixed packaging errors.

0.1 (2009-04-10)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pkginfo-0.4.1.tar.gz (17.7 kB view details)

Uploaded Source

File details

Details for the file pkginfo-0.4.1.tar.gz.

File metadata

  • Download URL: pkginfo-0.4.1.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pkginfo-0.4.1.tar.gz
Algorithm Hash digest
SHA256 c7785cd27903b55c4b621f74d5a95e2d04d38438720f564711eab2db3f3e3a19
MD5 10017fe960246b4711fde4c3fc03f29c
BLAKE2b-256 9718dfb0d2aab2aca8433babaa37f47f364477c34a90686cb98dc0c5a7a16e16

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page