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
Metadata
Release files for depinfo 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| depinfo-1.2.0.tar.gz | 23.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| depinfo-1.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / depinfo-1.2.0.tar.gz
| Download URL | depinfo-1.2.0.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b75d9435ca4e5542962d0e70ac3741fe2b580d628cd76a8cdee48ae3bff638a
|
|
BLAKE2b-256 checksum How to use checksums |
5f0d68a5533407d42da9ef4e8aca74ff747a05aa4e217d5b6ab25cf1e4bb597b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / depinfo-1.2.0-py2.py3-none-any.whl
| Download URL | depinfo-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a9b878f939bd8af7c2d11ac89c5192e3765e56c4a66c741fe7d9a24d51ed7ff1
|
|
BLAKE2b-256 checksum How to use checksums |
154ac67b5d8efc8893133b842a8a113d12e3a670ad73cc4203f2cfe251c40864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |