Metadata-Version: 2.1
Name: python-inspector
Version: 0.8.3
Summary: python-inspector is is a collection of utilities to collect PyPI package metadata and resolve packages dependencies.
Home-page: https://github.com/nexB/python-inspector
Author: nexB. Inc. and others
Author-email: info@aboutcode.org
License: Apache-2.0
Keywords: open source,scan,package,dependency,pypi,python,SBOM,sca,dependencies,dependency resolution,resolver,resolvelib,pip,requirements
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
Requires-Python: >=3.6.*
Description-Content-Type: text/x-rst
License-File: apache-2.0.LICENSE
License-File: NOTICE
License-File: AUTHORS.rst
License-File: CHANGELOG.rst
License-File: CODE_OF_CONDUCT.rst
Requires-Dist: attrs (!=20.1.0,>=18.1)
Requires-Dist: click (>7.0)
Requires-Dist: colorama (>=0.3.9)
Requires-Dist: commoncode (>=30.0.0)
Requires-Dist: dparse2 (>=0.6.1)
Requires-Dist: importlib-metadata (>=4.12.0)
Requires-Dist: packageurl-python (>=0.9.0)
Requires-Dist: pkginfo2 (>=30.0.0)
Requires-Dist: pip-requirements-parser (>=31.2.0)
Requires-Dist: requests (>=2.18.0)
Requires-Dist: resolvelib (>=0.8.1)
Requires-Dist: saneyaml (>=0.5.2)
Requires-Dist: tinynetrc (>=1.3.1)
Requires-Dist: toml (>=0.10.0)
Requires-Dist: mock (>=3.0.5)
Provides-Extra: docs
Requires-Dist: Sphinx (>=3.3.1) ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme (>=0.5.0) ; extra == 'docs'
Requires-Dist: doc8 (>=0.8.1) ; extra == 'docs'
Provides-Extra: testing
Requires-Dist: pytest (!=7.0.0,>=6) ; extra == 'testing'
Requires-Dist: pytest-xdist (>=2) ; extra == 'testing'
Requires-Dist: aboutcode-toolkit (>=7.0.2) ; extra == 'testing'
Requires-Dist: twine ; extra == 'testing'
Requires-Dist: black ; extra == 'testing'
Requires-Dist: isort ; extra == 'testing'
Requires-Dist: pycodestyle ; extra == 'testing'

python-inspector - inspect Python packages dependencies and metadata
=====================================================================


Copyright (c) nexB Inc. and others.
SPDX-License-Identifier: Apache-2.0
Homepage: https://github.com/nexB/python-inspector and https://www.aboutcode.org/


``python-inspector`` is a collection of utilities to:

- resolve PyPI packages dependencies

- parse various manifests and packages files such as pip requirement files,
  Pipfile, pyproject.toml, poetry.lock, setup.py and setup.cfg and legacy and
  current metadata file formats for eggs, wheels and sdist.

- 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.


Usage
--------

- Install with pip::

    pip install git+https://github.com/nexB/python-inspector

- Run the command line utility with::

    python-inspector --help



Its companion libraries are:

- ``pip-requirements-parser``, a mostly correct pip requirements parsing
  library extracted from pip.

- ``pkginfo2``, a safer fork of pkginfo to parse various installed and extracted
  package layouts and their metadata files.

- ``dparse2``, a safer fork of dparse to parse various package manifests

- ``resolvelib``, the library used by pip for dependency resolution

- ``packaging``, the official Python packaging utility library to process
  versions, specifiers, markers  and other packaging data formats.

- ``importlib_metadata``, the official Python utility library to process
  installed site-packages and their metadata formats.

- ``packageurl-python`` to use Package URL to reference Python packages
 
 
