Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 1.77 KB

README.md

File metadata and controls

70 lines (53 loc) · 1.77 KB

Pizza Calculator

The most over-engineered pizza calculator ever!

Requirements

Usage:

Run

$ python3 pizza.py

Enter your inputs to the recipe:

  • number of dough balls
  • ball weight
  • hydration amount
  • etc...

It will print out the appropriate measurements to make the best tasting pizza pie.

Example output

Number of pizzas (8): 4
Size grams (250g): 240
Hydration (65%): 65
---
Flour (100%): 571g
Water (65%): 371g
Salt (3%): 17.13g
Yeast (0.08%): 0.46g

It will also remember the previous inputs provided to make it easier to tweak a good recipe.

Tests

Tests

Install pytest

$ cd pizza/
$ pytest
================================================== test session starts ===================================================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack
rootdir: /your/path/to/pizza
collected 4 items                                                                                                        

test_pizza.py ....                                                                                                 [100%]

=================================================== 4 passed in 0.02s ====================================================

Roadmap

  • Save previous recipe
  • Customise hydration %
  • Timestamped recipes, rolling history
  • Customise yeast %
  • Customise salt %
  • Proving time calculation ?
  • Different yeast types ?
  • Adjust for room temperature ?
  • Instructions for making the dough ?
  • Sourdough :S