Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Quantifying glucose and glucose variability from CGM devices

Project description

cgmquantify: python package for analyzing glucose and glucose variability

License: MIT

Continuous glucose monitoring (CGM) systems provide real-time, dynamic glucose information by tracking interstitial glucose values throughout the day. Glycemic variability, also known as glucose variability, is an established risk factor for hypoglycemia (Kovatchev) and has been shown to be a risk factor in diabetes complications. Over 20 metrics of glycemic variability have been identified.

Here, we provide functions to calculate glucose summary metrics, glucose variability metrics (as defined in clinical publications), and visualizations to visualize trends in CGM data.

User Guide

Issue Tracking


  • Recommended: pip install cgmquantify
  • If above does not work: pip install git+git://
  • git clone repo

Dependencies: (these will be downloaded upon installation with pip)

pandas, numpy, matplotlib, statsmodels, datetime

Coming soon -

  • Currently only supports Dexcom CGM, more CGM coming soon
  • Integration with food logs, myFitnessPal food logs
  • Machine Learning methods for discovering trends in CGM data

Project details

Download files

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

Files for cgmquantify, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size cgmquantify-0.4.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page