Single page web app which analyzes and gives scores to baby milk powder according to pre-established score rules. Results are displayed with detailing of each subscore and total score; and then saved to a comparison table where more products can be analyzed and added.
This project is the outcome of a half-day trial in using Google Code Assist within VS Code / Codium to build a web app using AI (Gemini 2.5).
Stack:
- python 3
- uv for dependency management
- proto for version management of python and uv
- nicegui for the UI
- Download the binary files (zip) and unzip the content
- Run ./BabyMilkAnalyzer/BabyMilkAnalyzer
- Clone the repository: `git clone https://github.com/tmlmt/babymilk-analyzer.git
- Either install proto (docs) or ensure availability of python using your preferred version management approach
- Install uv (docs)
- Run the app:
uv run main.py
Note
While uv
is recommended for a fast and simple setup, you can also use standard Python tools like venv
and pip
. After cloning, you can run python3 -m venv .venv
, activate the environment, and then install dependencies with pip install .
.