Skip to main content

Package Dependency Information

Current PyPI Version Supported Python Versions Apache Software License Version 2.0 Code of Conduct Travis CI Codecov 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.3

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.3
File Size Uploaded
depinfo-1.5.3.tar.gz 23.3 kB Details

Built distribution (wheel)

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

Total release size: 32.0 kB

Release files / depinfo-1.5.3.tar.gz

Download URL depinfo-1.5.3.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b4d052c685f6ac0a5e9972efd317dcd0daa8d65bad69218ea1fda4d607202ca3
BLAKE2b-256 checksum
How to use checksums
992717195e26dbfb4da0fc829cb58d4b79e02df31b84719e9238ac796fa534cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

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

Download URL depinfo-1.5.3-py2.py3-none-any.whl
Size 8.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
32e1f7e17dbf4251db13c4f1fe5452539be9acaae0a2218df74bf59d7f80a909
BLAKE2b-256 checksum
How to use checksums
e452815b70d52b495bce1558d61a5e2fa4dffc1d696e1c5c65bfdd3c04b4bc90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

Release history Release notifications | RSS feed

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.4

2 release files

This release

1.5.3 This release

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