I am using the Bunch code from here:
And it works great. Except now I need to use Python 2.7's collections.OrderedDict and the Bunch code unorders the results.
I've taken a few swipes, but I'm not sure how to rewrite Bunch to support ordered dicts. Can anyone help? My code is here: