Skip to content

Retrieve and print Python package dependencies.

License

Notifications You must be signed in to change notification settings

Midnighter/dependency-info

Repository files navigation

Package Dependency Information

Current PyPI Version Supported Python Versions Apache Software License Version 2.0 Code of Conduct GitHub Actions Codecov Code Style Black

Example

The simplest way to display dependencies is to use the command line tool:

depinfo "your-package-name"

To print the dependencies of this package use (also try the --markdown option):

depinfo "depinfo"
Package Information
-------------------
depinfo 2.2.0

Dependency Information
----------------------
black               22.3.0
importlib-metadata missing
isort               5.10.1
rich                12.4.4
tox                 3.25.0

Build Tools Information
-----------------------
pbr         5.9.0
pip        22.1.2
setuptools 62.3.2
wheel      0.37.1

Platform Information
--------------------
Linux   5.17.5-76051705-generic-x86_64
CPython                         3.10.2

Alternatively you can use this package directly from Python

from depinfo.application import DisplayApplication

DisplayApplication.run("depinfo")

Copyright