envinfopy is a Python Library to get execution environment information.
Project description
Summary
envinfopy is a Python Library to get execution environment information.
Installation
pip 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:
pip 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
$ pip install envinfopy[all] # install optional dependencies $ python -m envinfopy --packages 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.5.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for envinfopy-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 487fde08b12d3ac3216a0eecf9fdf1876f7ed4bf50834969f8e35107de01b236 |
|
MD5 | 8b162b2b3a424124ec274575e5cfa344 |
|
BLAKE2b-256 | 39178ee0f988c23e8707471fcc6c7516fa21112c0321954355afa7330236f9ec |