tempDF.query(' & '.join(['{0}=={1}'.format(k, repr(v)) for k, v in tempDict.items()]))
""" & """.join(['{0}=={1}'.format(k, repr(v)) for k, v in tempDict.items()]
    )
Selecting data from Pandas dataframe based on criteria stored in a dict