For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:illuusio:python/openSUSE_Tumbleweed/home:illuusio:python.repo
zypper refresh
zypper install python-PyYAML
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:illuusio:python/15.5/home:illuusio:python.repo
zypper refresh
zypper install python-PyYAML
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:illuusio:python/15.4/home:illuusio:python.repo
zypper refresh
zypper install python-PyYAML