It's a pain when you have an isolated server with tons of network restrictions (for good) and your code requires 10 python packages with 10 dependenices of each package!
This script addresses that issue by downloading the packages on your machine and SCPing them to the remote machine and installing them there. Not the greates way to do things but this works.
It keeps asking for remote password for ssh and scp, so it's better if you authenticate with public key instead of password and it's safer than password so why not!