Files
myGarminApp/pyproject.toml
Riaan Doorduin 0d3da5f2df 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>
2026-11-15 13:20:25 +02:00

33 lines
800 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "mygarmin"
version = "0.1.0"
description = "Local-first activity and health logbook for Garmin, Strava and AlpineQuest data"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
dependencies = ["fitparse>=1.2", "timezonefinder>=6", "openpyxl>=3.1"]
[project.optional-dependencies]
api = ["garminconnect>=0.3.19", "curl_cffi"]
app = ["pywebview>=6", "garminconnect>=0.3.19", "curl_cffi"]
dev = ["pytest"]
[project.scripts]
mygarmin = "mygarmin.cli:main"
[project.gui-scripts]
mygarmin-app = "mygarmin.app:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
mygarmin = ["report/*.html", "app/*.html"]
[tool.pytest.ini_options]
testpaths = ["tests"]