Unzip a file with the dcc.Upload component

I need some advice on getting the byte array that comes out of the Upload Component unzipped. I know how to do the whole process with zipfile and a file path, but Upload does not provide the path with the filename. The zip file is password protected too, in case that makes a difference.

Thanks for any help!

UPDATE I have resorted to writing the file back out to a temp folder that gets wiped out when everything is done. It is not a super elegant solution and I am sure there is a way to decompress the byte array but I made it half-way through the zipfile source code and then decided to try the brute-force approach. (life as a non-co-sci I supposeā€¦)

Luckily for me, the zip files are not large so reading, writing, and reading them again is not a problem.