Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.2 KB

File metadata and controls

41 lines (25 loc) · 1.2 KB

python-inspector

python-inspector: is a collection of utilities to:

  • resolve PyPI packages dependencies
  • parse various requirements.txt files and setup.py files as input for resolving dependencies.
  • parse various manifests and packages files such as Pipfile, pyproject.toml, poetry.lock and setup.cfg and legacy and current metadata file formats for eggs, wheels and sdist. These have not been wired with the command line yet.
  • query PyPI JSON and simple APIs for package information

It grew out of ScanCode-Toolkit to find and analyze PyPI archives and installed Python packages and their files.

The goal of python-inspector is to be a comprehensive library that can handle every style of Python package layouts, manifests and lockfiles.

Example Usage

You can use python-inspector to analyze Python packages and their dependencies.

pip install python-inspector
python-inspector analyze requests

This command will inspect the package and display dependency and metadata information.