Skip to main content

Library to extract information from Apple Health exports

Project description

apple-health

Version Build Status Quality Gate Status CodeCoverage


from apple_health import HealthData

FILE = "./export/export.xml"
health_data = HealthData.read(FILE)

print(f"{len(health_data.activity_summaries)} activity records")
print(f"{len(health_data.correlations)} correlations")
print(f"{len(health_data.records)} records")
print(f"{len(health_data.workouts)} workouts")
>> 25 activity records
>> 37 correlations
>> 47013 records
>> 17 workouts

Project details


Download files

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

Source Distribution

apple-health-1.1.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

apple_health-1.1-py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page