Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
PyEPR 1.0 documentation
Light Logo Dark Logo
PyEPR 1.0 documentation

User Guide

  • Installation
  • Tutorial
  • API doc

About

  • Release Notes
  • Github
  • autoDEER
Back to top
View this page

pyepr.hardware.XeprAPI_link¶

Attributes¶

xepr_path

hw_log

Classes¶

XeprAPILink

Functions¶

get_package_version_from_dnf(package_name)

Get the version and release of a package installed via dnf.

Module Contents¶

pyepr.hardware.XeprAPI_link.xepr_path[source]¶
pyepr.hardware.XeprAPI_link.hw_log[source]¶
pyepr.hardware.XeprAPI_link.get_package_version_from_dnf(package_name)[source]¶

Get the version and release of a package installed via dnf.

Parameters:
package_namestr

The name of the package to check.

Returns
——-
dict or None

A dictionary with ‘version’ and ‘release’ keys if the package is found, otherwise None.

Copyright © 2021-2025, Hugo Karas, Gunnar Jeschke, Stefan Stoll
Made with Sphinx and @pradyunsg's Furo
On this page
  • pyepr.hardware.XeprAPI_link
    • Attributes
    • Classes
    • Functions
    • Module Contents
      • xepr_path
      • hw_log
      • get_package_version_from_dnf()