in reply to Valentino Gagliardi

Does Unpack do what you want?

peps.python.org/pep-0692/