Package: pogoiv
In the augmented reality mobile game, Pokemon Go, you adventure around the physical world capturing Pokemon and
exploring new places.When a Pokemon is caught, it has a number of hidden statistics that the more hardcore players of the game are interested
in uncovering.This project implements a simple, reusable library that supports enumerating possible combinations of these hidden stats
for a given Pokemon’s public information.It is intended for use in other applications and includes a reference CLI that leverages the package’s functionality.We take a brute force approach to the problem in the main entry point module: pogoiv.iv_calculatorFeaturesCalculate possible IVs and levels for a Pokemon given the appropriate public stats.Calculate the above for multiple point in time snapshots of that Pokemon to narrow down possibilities.Installation$pipinstallpogoivExample UsageLibrary:>>>frompogoiv.iv_calculatorimportIvCalculator>>>calculator=IvCalculator()>>>calculator.get_ivs_across_powerups(pokemon_name='Slowbro',powerup_stats=[(1528,125,3000,True),(1564,126,3000,True)])[{'level':21.5,'atk_iv':13,'def_iv':11,'stam_iv':15,'perfection':86.7},{'level':21.5,'atk_iv':14,'def_iv':9,'stam_iv':15,'perfection':84.4},{'level':22.0,'atk_iv':9,'def_iv':13,'stam_iv':12,'perfection':75.6}]CLI:$pogoiv--dust-cost30003000--combat-power15281564--hp125126--poweredTrueTrue--pokemonSlowbro+-------+--------+--------+---------+--------------+|Level|AtkIV|DefIV|StamIV|Perfection%|+-------+--------+--------+---------+--------------+|22.0|9|13|12|75.6||21.5|14|9|15|84.4||21.5|13|11|15|86.7|+-------+--------+--------+---------+--------------+Library with appraisal feature:>>>frompogoiv.iv_calculatorimportIvCalculator>>>calculator=IvCalculator()>>>calculator.get_ivs_across_powerups(pokemon_name='Slowbro',powerup_stats=[(1528,125,3000,True),(1564,126,3000,True)],appraisal=(2,1,True,False,False))[{'atk_iv':9,'def_iv':13,'stam_iv':12,'perfection':75.6,'level':22.0}]CLI with appraisal feature:$pogoiv--dust-cost30003000--combat-power15281564--hp125126--poweredTrueTrue--pokemonSlowbro--ao2--ap1--atTrue--deFalse--stFalse+-------+--------+--------+---------+--------------+|Level|AtkIV|DefIV|StamIV|Perfection%|+-------+--------+--------+---------+--------------+|22.0|9|13|12|75.6|+-------+--------+--------+---------+--------------+Appraisal values:Mystic first valueOverall, your Pokemon is not likely to make much headway in battle.Overall, your Pokemon is above average.Overall, your Pokemon has certainly caught my attention.Overall, your Pokemon is a wonder! What a breathtaking Pokemon!Mystic second valueIts stats are not out of the norm, in my opinion.Its stats are noticeably trending to the positive.I am certainly impressed by its stats, I must say.Its stats exceed my calculations. It’s incredible!Valor first valueOverall, your Pokemon may not be great in battle, but I still like it!Overall, your Pokemon is a decent Pokemon.Overall, your Pokemon is a strong Pokemon. You should be proud!Overall, your Pokemon simply amazes me. It can accomplish anything!Valor second valueIts stats don’t point to greatness in battle.Its stats indicate that in battle, it’ll get the job done.It’s got excellent stats! How exciting!I’m blown away by its stats. WOW!Instinct first valueOverall, your Pokemon has room for improvement as far as battling goes.Overall, your Pokemon is pretty decent!Overall, your Pokemon is really strong!Overall, your Pokemon looks like it can really battle with the best of them!Instinct second valueIts stats are all right, but kinda basic, as far as I can see.It’s definitely got some good stats. Definitely!Its stats are really strong! Impressive.Its stats are the best I’ve ever seen! No doubt about it!Third, fourth and fifth boolean values indicate whether or not the stat (Attack, Defense or Stamina respectively) are the highest of the three. (Several True values mean that several stats have the same highest values).How To ContributeCheck out, make changes, install, ensure tests are passing, open pr.To run tests:nosetests-s