Credit to http://pokemongo.gamepress.gg, all data is retrieved from this website.
Python 2.7.1 or above is required.
To calculate rate of pokemon by name:
./ratebyname.sh <pokemon-name> <power-up-stardust-cost> <current-cp>
To calculate rate of pokemon by id:
./ratebyid.sh <pokemon-id> <power-up-stardust-cost> <current-cp>
To refresh data from http://pokemongo.gamepress.gg:
./refreshdata.sh