envinfopy is a Python Library to get execution environment information.
Project description
Summary
envinfopy is a Python Library to get execution environment information.
Installation
pip3 install envinfopy
Usage
Library usage
>>> import envinfopy
>>> envinfopy.get_envinfo(["envinfopy"])
{'uname': 'Linux', 'python_implementation': 'CPython', 'python_version': '3.8.5', 'platform': 'Ubuntu 18.04', 'envinfopy': '0.0.4'}
Get environment information as Markdown:
pip3 install envinfopy[all] # install optional dependencies
>>> import envinfopy
>>> print(envinfopy.dumps(["envinfopy"], format="markdown"))
| Module | Version |
| --------- | ------------- |
| uname | Linux |
| Python | CPython 3.8.5 |
| platform | Ubuntu 18.04 |
| envinfopy | 0.0.4 |
CLI usage
$ pip3 install envinfopy[all] # install optional dependencies $ python3 -m envinfopy envinfopy setuptools --format markdown | Module | Version | | ---------- | --------------------------------- | | uname | Linux 4.19.104-microsoft-standard | | Python | CPython 3.8.5 | | platform | Ubuntu 18.04 | | envinfopy | 0.0.4 | | setuptools | 57.0.0 |
Dependencies
Python 3.6+
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
envinfopy-0.0.6.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for envinfopy-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50cea3386c73717e483485c4a409350db0a1310fe37beb79b9b34774c06cb048 |
|
MD5 | c27dcf00fa7f065306952a0a262741ee |
|
BLAKE2b-256 | 2ac71488fc3b876fd12f05842d5394a33e70a60a32a9a6b0e7c44150dcff6e86 |