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.1.0.tar.gz
(23.5 kB
view details)
Built Distribution
File details
Details for the file depinfo-1.1.0.tar.gz
.
File metadata
- Download URL: depinfo-1.1.0.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aacbe6c69f1cfd8b408cafcd741fe07737e5acae64e126156002ba8e6a9b88f |
|
MD5 | 1fa8b1fb289a169c3ce8a28f23ef9c0a |
|
BLAKE2b-256 | 63ea8b503bc38429d1b5d6cc033a2274d78b5c22410d06e8f0923783435b53a1 |
Provenance
File details
Details for the file depinfo-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: depinfo-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab80d7b57a6931ba36d9ec0c8ff3528ea2a565e8f13069d6299aa75341ef075 |
|
MD5 | c86bdf938854650b00345fead2efe1d2 |
|
BLAKE2b-256 | 8d1e07781f93079129ca99503094c27f4a9f2470560f9a5cffd6806cd2d8d6f3 |