https://github.com/aheaume/pyfmt.el.git
git clone 'git://github.com/aheaume/pyfmt.el.git'
Emacs interface to pyfmt
It's available on MELPA:
M-x package-install pyfmt
M-x pyfmt format the whole buffer.
M-x pyfmt