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

Property Value
Distribution Fedora 27
Repository Fedora Updates i386
Package name python2-distro
Package version 1.2.0
Package release 1.fc27
Package architecture noarch
Package type rpm
Installed size 135.52 KB
Download size 32.34 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 2 version.


Package Version Architecture Repository
python2-distro-1.2.0-1.fc27.noarch.rpm 1.2.0 noarch Fedora Updates
python2-distro-1.0.3-2.fc27.noarch.rpm 1.0.3 noarch Fedora
python2-distro-1.0.3-2.fc27.noarch.rpm 1.0.3 noarch Fedora
python2-distro - - -


Name Value
python(abi) = 2.7


Name Value
python-distro = 1.2.0-1.fc27
python2-distro = 1.2.0-1.fc27
python2.7dist(distro) = 1.2.0
python2dist(distro) = 1.2.0


Name Value
python-distro < 1.2.0-1.fc27


Type URL
Binary Package python2-distro-1.2.0-1.fc27.noarch.rpm
Source Package python-distro-1.2.0-1.fc27.src.rpm

Install Howto

Install python2-distro rpm package:

# dnf install python2-distro




2018-01-02 - Miroslav Suchý <> 1.2.0-1
- run tests
- rebase to distro 1.2.0
2017-03-20 - Miroslav Suchý <> 1.0.3-1
- rebase to 1.0.3
2017-01-24 - Miroslav Suchý <> 1.0.2-3
- typo in license macro
2017-01-24 - Miroslav Suchý <> 1.0.2-2
- add license macro for el6
2017-01-24 - Miroslav Suchý <> 1.0.2-1
- update to 1.0.2
- 1415667 - require python-argparse on EL6
2017-01-03 - Miroslav Suchý <> 1.0.1-2
- soft deps on lsb_release
2017-01-01 - Igor Gnatenko <> - 1.0.1-1
- Update to 1.0.1
- Provide only one copy of $bindir/distro
- Cleanups in spec
2016-12-19 - Miro Hrončok <> - 1.0.0-7
- Rebuild for Python 3.6
2016-10-06 - Miroslav Suchý <> 1.0.0-6
- polish spec according the package review
2016-10-05 - Miroslav Suchý 1.0.0-5
- use python3 in /usr/bin/distro on Fedoras

See Also

Package Description
python2-distro-info-0.18-1.fc27.noarch.rpm Python 2 module for distro-info
python2-distroinfo-0.1.1-1.fc27.noarch.rpm Parsing and querying distribution metadata stored in text/YAML files
python2-django-1.11.13-2.fc27.noarch.rpm A high-level Python Web framework
python2-django-doc-1.11.13-2.fc27.noarch.rpm Documentation for Django
python2-django-helpdesk-0.2.10-1.fc27.noarch.rpm A Django powered ticket tracker for small enterprise
python2-django-nose-1.4.5-1.fc27.noarch.rpm Django test runner that uses nose
python2-django-simple-captcha-0.5.6-1.fc27.noarch.rpm Django application to add captcha images to any Django form
python2-django-threadedcomments-1.2-2.fc27.noarch.rpm A simple yet flexible threaded commenting system for Django - Python 2 version
python2-dlrn-0.5.1-1.fc27.noarch.rpm Build and maintain yum repositories following OpenStack upstream commits
python2-dmlite-1.10.4-2.fc27.i686.rpm Python wrapper for dmlite
python2-dnf-2.7.5-2.fc27.noarch.rpm Python 2 interface to DNF
python2-dnf-plugin-kickstart-2.0.5-1.fc27.noarch.rpm Kickstart Plugin for DNF
python2-dnf-plugin-leaves-2.1.5-4.fc27.noarch.rpm Leaves Plugin for DNF
python2-dnf-plugin-local-2.1.5-4.fc27.noarch.rpm Local Plugin for DNF
python2-dnf-plugin-migrate-2.1.5-4.fc27.noarch.rpm Migrate Plugin for DNF