$ sudo dnf list "libblockdev-nvme" "python3-blivet"
Installed Packages
libblockdev-nvme.x86_64 2.28-10.el9 @appstream
python3-blivet.noarch 1:3.6.0-14.el9 @appstream
Available Packages
libblockdev-nvme.i686 2.28-10.el9 appstream
$ python3
Python 3.9.18 (main, Jan 24 2024, 00:00:00)
[GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> gi.require_version("BlockDev", "2.0")
>>> from gi.repository import BlockDev as blockdev
>>> blockdev.nvme_get_host_nqn()
** (process:425525): CRITICAL **: 00:52:04.582: The function 'bd_nvme_get_host_nqn' called, but not implemented!
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
gi.repository.GLib.GError: g-bd-init-error-quark: The function 'bd_nvme_get_host_nqn' called, but not implemented! (1)