Skip to content

mathiasbynens/pogotransfercalc

Repository files navigation

pogotransfercalc Build status PyPI version

pogotransfercalc makes it easy to calculate how many Pokémon you should transfer before kicking off an evolution spree in Pokémon GO. Like PidgeyCalc.com, but in Python instead of through a web-based UI.

Installation

Using pip:

$ pip install pogotransfercalc

Usage

from pogotransfercalc import calculate

result = calculate(pokemon_count=11, candy_count=390, pokedex_number=129)
print result
# → {'evolutions': 1, 'transfers': 10}

# Instead of `pokedex_number`, you can pass in the amount of required
# candies directly using `evolution_cost`:
result = calculate(pokemon_count=40, candy_count=288, evolution_cost=12)
print result
# → {'evolutions': 27, 'transfers': 10}
result = calculate(pokemon_count=40, candy_count=288, evolution_cost=12, transfer_after_evolving=True)
print result
# → {'evolutions': 29, 'transfers': 4}

Credits

Thanks to Bai Chan Kheo for creating PidgeyCalc.com! This package is essentially a programmatic version of Bai’s tool.

Author

twitter/mathias
Mathias Bynens

License

pogotransfercalc is available under the MIT license.

About

Easily calculate how many Pokémon you should transfer before kicking off an evolution spree in Pokémon GO.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages