pep8: use triple double-quotes for docstrings
pep8: fix indentation to be a multiple of four

note: i used pycharm "reformat file", so there are other reformattings also
pep8: fix empty line counts

top level: 2, else 1

I also advice to not put "pass" into empty classes, but rather a docstring instead of "pass".
pep8: blank after comma and colon
pep8: 2 spaces before inline comments
pep8: no space after {[ or before ]}, reindent
pep8: remove unexpected spaces around "=" in function/method head
pep8: too long lines, reformat lines to < 120 chars. removed redundancy from long_description in setup.py.

note: pep8 usually recommends 80 chars, but I find that impractical and unnecessary - it's not 1980 any more when code was edited on 80x25 terminals.

i was a bit wondering about onionshare-launcher.py - it does a lot of imports, but does not use the imported names.
pep8: remove empty lines at EOF