Skip to main content

envinfopy is a Python Library to get execution environment information.

Project description

Summary

PyPI package version Supported Python versions Supported Python implementations Linux/macOS/Windows CI status Test coverage: coveralls

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)

Uploaded Source

Built Distribution

envinfopy-0.0.6-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page