OpenBSD ports

The sysutils/py-distro port

py3-distro-1.9.0 – provide information about the OS platform

Description

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). It also provides much more functionality which isn't necessarily
Python bound, like a command-line interface.

WWW: https://pypi.python.org/pypi/distro
Categories:
lang/python sysutils

Library dependencies

Build dependencies

Run dependencies