Skip to content

Python package to parse, analyse, and plot Apple HealthKit data

License

Notifications You must be signed in to change notification settings

alxdrcirilo/apple-health-parser

Repository files navigation

logo

Apple Health Parser

header

Python package to parse, analyse, and plot Apple HealthKit data

pypi - version coverage python version poetry ruff pypi - downloads license


Source: https://github.com/alxdrcirilo/apple-health-parser
Documentation: https://alxdrcirilo.dev/apple-health-parser


The Apple Health Parser Python package simplifies the extraction and analysis of health data exported from Apple HealthKit. Designed for seamless integration into data science workflows and health analytics applications, this package offers robust parsing and plotting capabilities for various health metrics stored in the Apple Health export XML format.

In a nutshell, Apple Health Parser is capable of:

  • Extraction and processing of health data from the Apple HealthKit (i.e. export.zip)
  • Parsing and validation of health records
  • Plotting (optionally interactive) health records
  • Exporting plots and tables from the parsed health records

Additionally, it also comes with a CLI for the terminal geeks.

Warning

This package is still in active development and has not been tested on real data coming from different sources, nor has it been tested with data originating from versions of iOS < 17.