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.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

os_release-1.0.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file os-release-1.0.1.tar.gz.

File metadata

  • Download URL: os-release-1.0.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for os-release-1.0.1.tar.gz
Algorithm Hash digest
SHA256 67bd5cf46a17eb0cf395a7de7fee26d7a722cb4ac137d76545de6784bf3a954a
MD5 d0ed6140c3fb5dde7ad7be964033b4c1
BLAKE2b-256 dd3a25394962a865b1c4eced355b0c487dbefd974f1ad1cc4219b819b9706497

See more details on using hashes here.

File details

Details for the file os_release-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: os_release-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for os_release-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dab5fa8628e9bd98a3b65e835c2cf5722861316690620e8270e062188e70d04
MD5 70be8ba57dc425b6d0aa2552a0a90d44
BLAKE2b-256 818399ad94253f88a2db9c47eebdf63e6f74eb7a07b97e29b839bd0204f53764

See more details on using hashes here.

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