Skip to main content

Hit your daily nutrition goals with Havij!

Project description

Nutrition Scanner + Meal Logger (Havij)

Streamlit app that looks up products by barcode via Open Food Facts, logs meals, and tracks daily/weekly nutrition totals.

Features

  • Barcode lookup with nutrition per 100g
  • Meal logging with SQLite persistence
  • Daily totals and 7-day trends

Requirements

  • Python 3.10+
  • Poetry

Setup

poetry install

Run

poetry run streamlit run havij/presentation/streamlit_app.py

Configuration

  • DB_PATH (optional): path to SQLite file (default: data/app.sqlite)

Tests

poetry run poe test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

havij_nutrition-1.1.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

havij_nutrition-1.1.0-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file havij_nutrition-1.1.0.tar.gz.

File metadata

  • Download URL: havij_nutrition-1.1.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for havij_nutrition-1.1.0.tar.gz
Algorithm Hash digest
SHA256 59ed9cdfdd130ed13e4a9659181bba33e73a01836d8b5160c621a7c08df21594
MD5 562d30de2ad1af84046043d44e43bad4
BLAKE2b-256 50fcc5aaa1416e066ffa92648c07e2cf67648294d929e5a296a68f4be9e8c356

See more details on using hashes here.

File details

Details for the file havij_nutrition-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: havij_nutrition-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for havij_nutrition-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2967822ccc88131d5fb6136707c26126d839de2dc68637a3e5b7e7ed7ad37aa0
MD5 d99e94ce7effcb49eb5095a7fcb49d5d
BLAKE2b-256 87d053f82abff3732c73767c278d7a38754650795eb404dfc2a79256e128badd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page