I want to parse .iso file in python. I want to get information and data from .iso

for example there is a iso file, its name xyz.iso
but in fact it is a ubuntu image and it has file like Readme.txt, .deb pacges etc.
How can i do for this?