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

Distribution: Mageia 6.0
Repository: Mageia Core i586
Package name: python3-distro
Package version: 1.0.2
Package release: 5.mga6
Package architecture: noarch
Package type: rpm
Installed size: 121.69 KB
Download size: 28.07 KB
Official Mirror:
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.



  • python3-distro == 1.0.2-5.mga6
  • pythonegg(3)(distro) == 1.0.2

    Install Howto

    1. Enable Mageia Core repository on "Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install python3-distro rpm package:
      # urpmi python3-distro


    • /usr/lib/python3.5/site-packages/
    • /usr/lib/python3.5/site-packages/__pycache__/distro.cpython-35.opt-1.pyc
    • /usr/lib/python3.5/site-packages/__pycache__/distro.cpython-35.pyc
    • /usr/lib/python3.5/site-packages/distro-1.0.2-py3.5.egg-info/PKG-INFO
    • /usr/lib/python3.5/site-packages/distro-1.0.2-py3.5.egg-info/SOURCES.txt
    • /usr/lib/python3.5/site-packages/distro-1.0.2-py3.5.egg-info/dependency_links.txt
    • /usr/lib/python3.5/site-packages/distro-1.0.2-py3.5.egg-info/entry_points.txt
    • /usr/lib/python3.5/site-packages/distro-1.0.2-py3.5.egg-info/top_level.txt
    • /usr/share/doc/python3-distro/CHANGES
    • /usr/share/doc/python3-distro/
    • /usr/share/doc/python3-distro/README.rst
    • /usr/share/licenses/python3-distro/LICENSE


    2017-03-16 - ngompa <ngompa> 1.0.2-5.mga6 + Revision: 1093149 - Port to Mageia - imported package python-distro