A module for reading systemd's os-release information on modern Linux distributions.
Project description
os-release
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
Release history Release notifications | RSS feed
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.1.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for os_release-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dab5fa8628e9bd98a3b65e835c2cf5722861316690620e8270e062188e70d04 |
|
MD5 | 70be8ba57dc425b6d0aa2552a0a90d44 |
|
BLAKE2b-256 | 818399ad94253f88a2db9c47eebdf63e6f74eb7a07b97e29b839bd0204f53764 |