Skip to content

alxdrcirilo/apple-health-parser

Repository files navigation

logo

Apple Health Parser

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

header

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.

⚠️ 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.