Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions docs/source/aboutcode-projects/python-inspector-project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,34 @@ The goal of python-inspector is to be a comprehensive library
that can handle every style of Python package layouts, manifests and lockfiles.

- Get the code at: https://github.com/aboutcode-org/python-inspector


Example Usage
--------------

You can use python-inspector to resolve dependencies for a package.

.. code-block:: bash

pip install python-inspector
python-inspector analyze requests


This command will:
- Download the requests package from PyPI
- Inspect the package
- Display the dependencies
- Metadata about the package

This will resolve the dependencies for the requests package and print the results to the console.

.. code-block:: json

{
"dependencies": [
{
"name": "requests",
"version": "2.28.1"
}
]
}