SciPy

scipy.optimize.OptimizeResult.iteritems

OptimizeResult.iteritems() → an iterator over the (key, value) items of D