docker-compose build app
docker-compose run app ipython
usage with ipython
from app.utils import get_all_pokemon_no_evolution_chain
from app.utils import get_min_weight # need the names from get_all_pokemon_no_evolution_chain
from app.utils import get_min_weight_no_evolution
names = get_all_pokemon_no_evolution_chain()
for name in names:
print(name)
min_weight = get_min_weight(names)
print(min_weight)
min_weight = get_min_weight_no_evolution(names)
print(min_weight)
docker-compose run app python app
check the functions and results with the notebook
- poetry
- deploy as API