Use pip or easy_install:

pip install pydocstyle

Alternatively, you can use pydocstyle.py source file directly - it is self-contained.