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 details)
Built Distribution
File details
Details for the file envinfopy-0.0.6.tar.gz
.
File metadata
- Download URL: envinfopy-0.0.6.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34cf7ac8b6fc2329b74d300fa40c48e435541ee7d8d9982c070e2a8036389125 |
|
MD5 | 1376c9065baa88ee6b21110d02557fa5 |
|
BLAKE2b-256 | cf7f45af7723cda54fa8d3fb5f72a5a944d32a8fbe4bb4f58baa8c2fd50da5b9 |
File details
Details for the file envinfopy-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: envinfopy-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50cea3386c73717e483485c4a409350db0a1310fe37beb79b9b34774c06cb048 |
|
MD5 | c27dcf00fa7f065306952a0a262741ee |
|
BLAKE2b-256 | 2ac71488fc3b876fd12f05842d5394a33e70a60a32a9a6b0e7c44150dcff6e86 |