Giter Club home page Giter Club logo

bloodglucose's Introduction

Description

A simple program to store and monitor daily measured blood sugar of one person.

I made this for my wife because she have gestational diabetes during her pregnancy. That's why it's very simple. It has 3 features:

This is created initialy just for my wife so unless I think of any other helpful features for her, there won't be any updates.

Usage

  • Create 3 collections in your MongoDB database: daily_levels, threshold, users. Create documents in threshold and users collection for the person you would like to monitor their blood sugar level
  • Create a configuration json file in configuration directory. For reference, check file example.json.
  • Set an environmental variable named glucose_env with your new configuration filename (without json extension)
  • Use command pip install requirements.txt
  • Use command python3 daily_update.py to store blood sugar level and to see if that level is normal or not:
    • You can use option -d <YYYY-MM-DD> to store blood sugar level of a specific date. Default value without this option is today.
    • You can use option -k <option_number> to specify the time you measure the blood sugar level. Without this option, a prompt will show up for you to check the option again and choose the corresponding number.
  • Use command python3 daily_backup.py to back-up all blood sugar data of the monitored person into a csv file in backup_data directory

bloodglucose's People

Contributors

sieugee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.