This package browser is in early development. Mind the rough edges.

python-distro

OS platform information API

distro provides information about the OS distribution it runs on, such as a reliable machine-readable ID, or version information.

It is the recommended replacement for Python's original `platform.linux_distribution` function (which will be removed in Python 3.8). distro also provides a command-line interface to output the platform information in various formats.

Installation

Install the latest version of python-distro as follows:

guix install python-distro

Or install a particular version:

guix install python-distro@1.9.0

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of python-distro about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/python-distro'><img src='https://packages.guix.gnu.org/packages/python-distro/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/python-distro/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/python-distro)

Example Org:

[[https://packages.guix.gnu.org/packages/python-distro][https://packages.guix.gnu.org/packages/python-distro/badges/latest-version.svg]]