Skip to main content

Package Dependency Information

Current PyPI Version Travis CI Codecov Supported Python Versions Black

A utility Python package intended for other library packages. Provides a function that when called with your package name, will print platform and dependency information.

Install

It’s as simple as:

pip install depinfo

Usage

The easiest way is to implement the following in your package somewhere.

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
pipdeptree 0.12.1
setuptools 39.0.1
wheel      0.31.0

Metadata

Release files for depinfo 1.5.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 1.5.0
File Size Uploaded Provenance Actions
depinfo-1.5.0.tar.gz 24.2 kB Without provenance Details for depinfo-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for depinfo 1.5.0
File Interpreter ABI Platform Actions
depinfo-1.5.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for depinfo-1.5.0-py2.py3-none-any.whl

Total release size: 32.7 kB

Release files / depinfo-1.5.0.tar.gz

Download URL depinfo-1.5.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9480b8e262585c12bd515171ffd295c77b7889b2c0096c1140630a08d3339b36
BLAKE2b-256 checksum
How to use checksums
2d7c01edde0702328e2acbcd8f10932049f3e5dd590392651668c4c7f855aff8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.3

Release files / depinfo-1.5.0-py2.py3-none-any.whl

Download URL depinfo-1.5.0-py2.py3-none-any.whl
Size 8.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fed1cfd18bc6c504e797ae52437579f3d3cb923173de30ef3eff2b78ab1dd04a
BLAKE2b-256 checksum
How to use checksums
086180660048813d3dc6850d6e940b72f4bc42a35a897280fd8e2aa2f9df2bfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.3

Security for depinfo 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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