Skip to main content
Current PyPI Version Supported Python Versions Apache Software License Version 2.0 Code of Conduct GitHub Actions Codecov Code Style Black
from depinfo import print_dependencies


def show_versions():
    print_dependencies("your-package-name")

That’s all there is to it.

If instead you want to access and modify the information, you can make use of the underlying functions that return dictionaries that map package names to their current versions. By default it will include common build packages such as pip.

from depinfo import get_pkg_info
help(get_pkg_info)

Example

from depinfo import print_dependencies
print_dependencies("depinfo")
System Information
==================
OS                     Linux
OS-release 4.4.0-122-generic
Python                 3.6.5

Package Versions
================
pip        10.0.1
setuptools 39.0.1
wheel      0.31.0

Metadata

Release files for depinfo 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for depinfo 2.0.0
File Size Uploaded
depinfo-2.0.0.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for depinfo 2.0.0
File Interpreter ABI Platform
depinfo-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 kB

Release files / depinfo-2.0.0.tar.gz

Download URL depinfo-2.0.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7b41a31ecdd4c7a5f33a08f4a89afb135a12346fec2df4a36fcc9562a0854283
BLAKE2b-256 checksum
How to use checksums
ab803fe81a19cbcde4e677a01cec603704e489c08cdf9c2fd1ab0f01757cfb4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / depinfo-2.0.0-py3-none-any.whl

Download URL depinfo-2.0.0-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dbb2a1fa858b508ae1966a177a879d7798d155d48b8aa8ee10f7b43e3e79229
BLAKE2b-256 checksum
How to use checksums
713e57cf811a2303834b6f56caeee303d476398de60f0118046e2c55b30c5476
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

This release

2.0.0 This release

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page