I found many cmds provide info about the OS architecture x64 or x86 like in the poll below.
My aim was to get package architecture with short output like in the output of the poll commands and I arrived to the following:
dnf info code
dpkg -s python
Does provide such command to get short output like that ?