md-arif-shaikh / bgt

Keep track of blood glucose level with Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Record Blood Glucose Level with Emacs

bgt (short for blood glucose table) is an Emacs package to keep record and track blood glucose level

Installation

(use-package bgt
  :straight (bgt :type git :host github :repo "md-arif-shaikh/bgt")
  :config
  (setq bgt-file-name "/path/to/bgt.org")      ;; full name with path of the org file to save the glucose levels data
  (setq bgt-csv-file-name "/path/to/bgt.csv")  ;; name of csv file to export the org table 
  (setq bgt-python-file "/path/to/bgt.py")     ;; full path to the python script that comes with the package to plot the trend of glucose levels
  (setq bgt-python-path "/path/to/python"))    ;; path to the python program that runs the python script

Requirements

The trend of glucose levels over the time could be seen by plotting the glucose leves vs time. For this we need

  • Python installed on your machine.
  • Matplotlib, a plotting package for python and
  • Pandas, a DataFrame tool for python.

Usage

  • M-x bgt-add-entry to add an entry.
  • M-x bgt-view-entry to see the org table.
  • M-x bgt-plot to show trend.

About

Keep track of blood glucose level with Emacs

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 70.0%Language:Python 30.0%