Fedora 41 uses _dnf5_ by default. Being written in C, its Python API is an optional feature that needs to be installed separately.