Blood test spreadsheets: ferritin, Hb, iron in the health section
- sources/labs.py reads .xlsx/.csv sheets with a Date column; columns are recognised by header (ferritin, Hb, serum iron, transferrin saturation), with the lab's reference range and the user's Min/Max target. Formula cells are skipped. - Importing a sheet from disk remembers it in settings "lab_files"; every dashboard build reads it again. Editable in the app's settings. - Dashboard: ferritin chart (log scale, main lab as a line, a second lab as points, target range dashed), results table and a finding. - openpyxl added as a dependency and to the installer bundle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@ description = "Local-first activity and health logbook for Garmin, Strava and Al
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
license = "MIT"
|
||||
dependencies = ["fitparse>=1.2", "timezonefinder>=6"]
|
||||
dependencies = ["fitparse>=1.2", "timezonefinder>=6", "openpyxl>=3.1"]
|
||||
|
||||
[project.optional-dependencies]
|
||||
api = ["garminconnect>=0.3.19", "curl_cffi"]
|
||||
|
||||
Reference in New Issue
Block a user