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.

Metadata

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 Provenance Actions
os-release-1.0.1.tar.gz 5.3 kB Without provenance Details for os-release-1.0.1.tar.gz

Built distribution (wheel)

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

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

Security for os-release 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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