Home
๐ What is CGM Data Processor?¶
CGM Data Processor is a Python-based toolkit for analysing diabetes-related data from multiple Continuous Glucose Monitoring (CGM) and treatment logging platforms, including XDrip+ and Freestyle Libre.
It aims to provide a standardised data model, supported by robust validation, gap detection, interpolation, and treatment processing, enabling researchers, patients, and developers to gain deeper insights into glucose trends and treatment dynamics.
This project is currently in pre-release, actively developed with the goal of becoming a fully documented, test-covered Python package suitable for real-world data analysis workflows and professional portfolio presentation.
๐ Process Your Diabetes Data¶
Analyse consolidated diabetes data with confidence. Process CGM readings, insulin doses, carbohydrate intake, and treatment notes with repeatable, validated workflows designed for extensibility.
๐ฉธ CGM Analysis Includes¶
- Automatic gap detection
- Configurable interpolation
- Basic quality metrics (more planned)
๐ Treatment Data Support¶
- Insulin bolus and basal events
- Carbohydrate entries
- Event and annotation handling
๐งช Data Pipeline Features¶
- โ Automated file format detection
- โ Cross-source alignment & merging
- โ Metadata-preserving processing
- โ Modular reader/processor architecture
- โ Export-ready standardisation (CSV now, more to come)
๐ Quick Start¶
๐ Install CGM Data Processor โ see: ๐ Installation Guide
The quickest way to run the tool during development is via the CLI entry point, using either the sample data, or your own backup files:
This produces a set of validated, aligned CSV files suitable for onward analysis, dashboarding, or importing into statistical tools.
๐ง Using the Library in Python¶
More advanced configurations and workflows are covered in the ๐ API Reference
๐ Example Output Structure¶
๐ ๏ธ Roadmap to v1.0¶
| Stage | Target | Status |
|---|---|---|
| โ Base architecture | Readers, processors, CLI | Available |
| โ CLI early usage | Manual run from src root | Available |
| โ Exports | CSV currently supported | Available |
| ๐ Test coverage | โฅ 75% | Ongoing |
| ๐ Summary statistics module | Glucose metrics & treatment breakdowns | Pending |
| ๐ Visual insights | Time-series trends & stability graphs | Pending |
| ๐ฆ v1 release | Published package + documentation | Planned |
๐ค Contributing¶
Contributions, feedback, and ideas are welcome โ especially around:
-
Reader support for new formats
-
Statistical metrics
-
Visual analytics
-
Performance and robustness
-
Testing improvements
(Contribution guidelines will be available prior to first release.)
๐ก๏ธ Responsible Use¶
๐ Licence¶
This project is licensed under the MIT Licence โ see full details here: MIT License