Giter Site home page Giter Site logo

matze1985 / glucopy Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 19 KB

A glucose python module for Nightscout

Home Page: http://crazyinfo.de

License: MIT License

Python 100.00%
module nightscout glucose-monitoring python linux windows python-module terminal

glucopy's Introduction

GlucoPy

  • A glucose python module for Nightscout
  • A terminal glucose checker

Modules

Windows

  • pip install pyttsx3

Linux

  • pip install google-speech

Alert option

  • pip install playsound

Speech option

  • pip install translate
  • pip install locale

Example

  • Run nightscout in console with a loop
import nightscout as ns

while 1:
  ns.run('https://[...].herokuapp.com', 0, 0, True, True, True) 

Keywords

Run()

sUrl

  • String: Nightscout url
  • https://[...].herokuapp.com = URL

iUnit

  • Integer: Unit of glucose
  • 0=Auto, 1=mg/dl, 2=mmol

iDisplay

  • Integer: Option of print glucose data
  • 0 = All, 1= Glucose, 2 = Direction, 3 = Delta, 4 = Minutes

bAlert

  • Boolean: Alarm option
  • True or False

bSpeech

  • Boolean: Speech option, with wait every zero min.
  • True or False

bWait

  • Boolean: Wait for glucose update
  • True or False

glucopy's People

Contributors

matze1985 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.