Skip to main content

A module for reading systemd's os-release information on modern Linux distributions.

Project description

os-release

PyPI Documentation Status

os-release is a simple Python module for reading systemd's os-release information on modern Linux distributions.

It parses the contents of systemd's os-release (os-release(5)) files: /etc/os-release or /usr/lib/os-release.

Installation

os-release is available on PyPI.

Add it to your projects setup.py install_requires:

install_requires=['os-release']

or install it directly via pip:

$ pip install os-release

Alternatively, clone this Git repository and run:

$ python setup.py install

Documentation:

Documentation for os-release is available on Read the Docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

os-release-1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

os_release-1.0-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page