Using PIP:
pip install stpr
You can also check out the code directly from GitHub:
git clone git@github.com:hategan/stpr.git cd stpr pip install -e .