SciPy

scipy.optimize.OptimizeResult.viewitems

OptimizeResult.viewitems() → a set-like object providing a view on D's items