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

pip install envinfopy

Usage

Library usage

>>> import envinfopy
>>> envinfopy.get_envinfo(["envinfopy"])
{'uname': 'Linux ubuntu1804 4.15.0-112-generic x86_64', 'implementation': 'CPython', 'version': '3.8.5', 'envinfopy version': '0.0.1'}

Get environment information as Markdown:

>>> import envinfopy
>>> print(envinfopy.dumps(["envinfopy"], "markdown"))
- uname: Linux ubuntu1804 4.15.0-112-generic x86_64
- CPython version: 3.8.5
- envinfopy version: 0.0.1

CLI usage

$ python -m envinfopy --packages envinfopy --format markdown
- uname: Linux ubuntu1804 4.15.0-112-generic x86_64
- CPython version: 3.8.5
- envinfopy version: 0.0.2

Dependencies

Python 3.5+ no external dependencies.

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.4.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

envinfopy-0.0.4-py3-none-any.whl (4.8 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