metadata inspection tool in python