Skip to main content

Query metadata from sdists / bdists / installed packages. Safer fork of pkginfo to avoid doing arbitrary imports and eval.

Project description

Homepage URL: https://github.com/aboutcode-org/pkginfo2 SPDX-License-Identifier: MIT

This package provides an API for querying the distutils metadata written in the PKG-INFO file inside a source distriubtion (an sdist) or a binary distribution or a wheel (e.g., created by running bdist_egg). It can also query the EGG-INFO directory of an installed distribution, and the *.egg-info stored in a “development checkout” (e.g, created by running setup.py develop), or the *.dist-info from an as-installed package.

This is a fork of http://bazaar.launchpad.net/~tseaver/pkginfo removing the ability to import and eval arbitrary code and work with modules known to the current interpreter. Use importlib_metadata for this if you need it.

Please see the pkginfo2 repo at for more documentation.

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

pkginfo2-30.1.0.tar.gz (75.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pkginfo2-30.1.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file pkginfo2-30.1.0.tar.gz.

File metadata

  • Download URL: pkginfo2-30.1.0.tar.gz
  • Upload date:
  • Size: 75.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pkginfo2-30.1.0.tar.gz
Algorithm Hash digest
SHA256 be1bb18ef34bcc73758d62aa0667013b3404a8f612f53cd331fbee9bd9381478
MD5 32bb71c1432d1418b69683e0848cd603
BLAKE2b-256 9e8ff9fb849e7b295a36c921448229f79b03c29cfbf12ec5a25db08538da7efe

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkginfo2-30.1.0.tar.gz:

Publisher: pypi-release.yml on aboutcode-org/pkginfo2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pkginfo2-30.1.0-py3-none-any.whl.

File metadata

  • Download URL: pkginfo2-30.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pkginfo2-30.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aab1222645196047b6e654f6ee0564fe946b1812030d0d4166e92a2f81e19933
MD5 50f5c810ff58291166b1336f27a6c31d
BLAKE2b-256 c93d154dfc1c99c458056c67ad577338bedab1a5bb08a1baf4985be72cebbbd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkginfo2-30.1.0-py3-none-any.whl:

Publisher: pypi-release.yml on aboutcode-org/pkginfo2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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