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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be1bb18ef34bcc73758d62aa0667013b3404a8f612f53cd331fbee9bd9381478
|
|
| MD5 |
32bb71c1432d1418b69683e0848cd603
|
|
| BLAKE2b-256 |
9e8ff9fb849e7b295a36c921448229f79b03c29cfbf12ec5a25db08538da7efe
|
Provenance
The following attestation bundles were made for pkginfo2-30.1.0.tar.gz:
Publisher:
pypi-release.yml on aboutcode-org/pkginfo2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkginfo2-30.1.0.tar.gz -
Subject digest:
be1bb18ef34bcc73758d62aa0667013b3404a8f612f53cd331fbee9bd9381478 - Sigstore transparency entry: 645063109
- Sigstore integration time:
-
Permalink:
aboutcode-org/pkginfo2@387a73f88028236978becd4046f999fcf5174c42 -
Branch / Tag:
refs/tags/v30.1.0 - Owner: https://github.com/aboutcode-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@387a73f88028236978becd4046f999fcf5174c42 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aab1222645196047b6e654f6ee0564fe946b1812030d0d4166e92a2f81e19933
|
|
| MD5 |
50f5c810ff58291166b1336f27a6c31d
|
|
| BLAKE2b-256 |
c93d154dfc1c99c458056c67ad577338bedab1a5bb08a1baf4985be72cebbbd3
|
Provenance
The following attestation bundles were made for pkginfo2-30.1.0-py3-none-any.whl:
Publisher:
pypi-release.yml on aboutcode-org/pkginfo2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkginfo2-30.1.0-py3-none-any.whl -
Subject digest:
aab1222645196047b6e654f6ee0564fe946b1812030d0d4166e92a2f81e19933 - Sigstore transparency entry: 645063111
- Sigstore integration time:
-
Permalink:
aboutcode-org/pkginfo2@387a73f88028236978becd4046f999fcf5174c42 -
Branch / Tag:
refs/tags/v30.1.0 - Owner: https://github.com/aboutcode-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@387a73f88028236978becd4046f999fcf5174c42 -
Trigger Event:
push
-
Statement type: