List a package's direct dependencies and their versions.
Project description
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.
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
Copyright
Copyright (c) 2018, Moritz E. Beber.
Free software: Apache Software License 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
depinfo-1.3.0.tar.gz
(23.6 kB
view hashes)
Built Distribution
Close
Hashes for depinfo-1.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9dc0f3e73658f72b41ac9b87c2e05fc887d64f74b0799381dd5c872be83de59 |
|
MD5 | 393a0dbad40df1abd09e8e4f858882b4 |
|
BLAKE2b-256 | 237597ffbbaa7dba4ff40988d6c03b20f489c075cd814af18382a907ff622fbe |