Skip to main content

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.

Release files for os-release 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for os-release 1.0.1
File Size Uploaded
os-release-1.0.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for os-release 1.0.1
File Interpreter ABI Platform
os_release-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.4 kB

Release files / os-release-1.0.1.tar.gz

Download URL os-release-1.0.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
67bd5cf46a17eb0cf395a7de7fee26d7a722cb4ac137d76545de6784bf3a954a
BLAKE2b-256 checksum
How to use checksums
dd3a25394962a865b1c4eced355b0c487dbefd974f1ad1cc4219b819b9706497
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release files / os_release-1.0.1-py3-none-any.whl

Download URL os_release-1.0.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dab5fa8628e9bd98a3b65e835c2cf5722861316690620e8270e062188e70d04
BLAKE2b-256 checksum
How to use checksums
818399ad94253f88a2db9c47eebdf63e6f74eb7a07b97e29b839bd0204f53764
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page