Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

pkginfo2

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkginfo2

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

pipPyPI
Version
30.1.0
Maintainers
2

pkginfo2 README

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 <https://github.com/aboutcode-org/pkginfo2>_ for more documentation.

Keywords

distribution

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts