unspecified

python3-distro - Linux Distribution - a Linux OS platform information API

Website: https://github.com/nir0s/distro
License: ASL 2.0
Description:
The distro (for: Linux Distribution) package provides information about the
Linux distribution it runs on, such as a reliable machine-readable ID, or
version information.

It is a renewed alternative implementation for Python's original
platform.linux_distribution function, but it also provides much more
functionality. An alternative implementation became necessary because
Python 3.5 deprecated this function, and Python 3.7 is expected to remove it
altogether. Its predecessor function platform.dist was already deprecated since
Python 2.6 and is also expected to be removed in Python 3.7. Still, there are
many cases in which access to that information is needed. See Python issue 1322
for more information.

Python 3 version.

How to Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo amazon-linux-extras install epel
sudo yum -y install python3-distro

Packages

python3-distro-1.2.0-3.amzn2.noarch [29 KiB] Changelog by Miro Hrončok (2019-04-24):
- Add explicit conflicts for clean update path of /usr/bin/distro

Subscribe