rpm -qa | grep leave
python3-dnf-plugins-extras-leaves-0.0.12-3.fc24.noarch
python3-dnf-plugins-extras-show-leaves-0.0.12-3.fc24.noarch
dnf leaves
and with both installed after each removal you get a fresh list of now installed stuff without dependencies - combined with smart self built metapackages just defining requires of packages you have installed by intention you end in:
[root@srv-rhsoft:~]$ dnf leaves
lounge-rhsoft-extras-24.0-1.fc24.20170218.rh.noarch
[root@srv-rhsoft:~]$