Go to file
iGor milhit d171af8d0b
config: improve management of CORS origins
- Replaces the onliner converting the value of the env variable into a
  list by a function. This allows to test this conversion.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2026-01-10 13:26:53 +01:00
tests config: improve management of CORS origins 2026-01-10 13:26:53 +01:00
web config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
.gitignore config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
.python-version project: initial commit 2025-12-29 21:21:37 +01:00
README.md config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
calculator.py config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
config.py config: improve management of CORS origins 2026-01-10 13:26:53 +01:00
main.py config: improve management of CORS origins 2026-01-10 13:26:53 +01:00
pyproject.toml config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
uv.lock config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00

README.md

title subtitle date id tags
Dough Calc A tiny utility to calculate the proportions of flour, water, sourdough and salt for your dough. 2025-12-29T09:10:27+0100 20251229091027
python
calculator
bread
dough
sourdough

Dough Calc

Dough Calc is a tiny utility to calculate the proportions of flour, water, sourdough and salt for your dough, depending on the main flour quantity, the main proportion of water you're aiming for, and the proportion of water of your sourdough.

Development

To start a dev environment:

git clone https://git.milhit.ch/igor/dough-calc.git
cd dough-calc
uv sync
cd web
npm install

Tests

To run the tests:

uv run pytest

Linting

To run linting checks:

uv run ruff check --fix