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

User Guide

  • Installation
  • Tutorial
    • Loading and Analysing Data
    • Pulse Sequencer
    • Interfacing with Hardware
  • API doc
  • Examples
    • Advanced Sequences
      • Linking a pulse’s phase cycle to another pulse
      • Uhrig Decoupling Sequence
      • Advanced Sequence Axes
    • Tools
      • Loading a CW EPR file
    • Automation
      • Testing different pump-offsets in Four-Pulse DEER
    • Interface Specific Examples
      • PyEPR Control Superconducting Interface
      • ETH Matlab Based AWG
      • Xepr API Interface
      • PulseSpel Compile

About

  • Release Notes
  • Citation
  • License
  • Github
  • autoDEER
Back to top
View this page
Edit this page

pyepr.hardware.XeprAPI_link.get_package_version_from_dnf¶

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.get_package_version_from_dnf
    • get_package_version_from_dnf()