I've just uploaded my little plugin for integrating PythonTidy (tested with 1.20) into Sublime Text 2.
It can tidy either the current line or all selections. The processed code has to by compilable (syntax, indent correct and make sense) otherwise you will get an error message in your status bar.
It's definitely not perfect but provides help most of the time. I use it for cleaning up code from others or when I get generated JSON strings or Python dict-trees (everything in one line).
For usage info see the header of the py-file. You have to have PythonTidy within your path or in parallel to the "installed" py-file. I've copied both into my Packages/User folder.
You can find the code here:
https://bitbucket.org/theblacklion/subl ... n_tidy/src