You are here: Home / LBN / Up2date / Core Linux / BastionLinux 25 / python3-distro-1.0.3-1.lbn25.py37.noarch

python3-distro-1.0.3-1.lbn25.py37.noarch

Package Attributes
RPM  python3-distro-1.0.3-1.lbn25.py37.noarch.rpm Architecture  noarch Size  91014 Created  2023/06/18 04:37:33 UTC
Package Specification
Summary Linux Distribution - a Linux OS platform information API
Group Unspecified
License ASL 2.0
Home Page https://github.com/nir0s/distro
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.

Requires
rpmlib(PayloadFilesHavePrefix)  
/usr/bin/python3  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
rpmlib(FileDigests)  
Provides
python3-distro
python3.7dist(distro)
python3dist(distro)

Document Actions