Library to extract information from Apple Health exports
Project description
apple-health
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.1.tar.gz
(9.0 kB
view hashes)
Built Distribution
Close
Hashes for apple_health-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5a5a3f3c892efbf74d2c2c4dcaffec3b05b66eca4ebd7c1572fe5d4e0dcdbaf |
|
MD5 | 7d5ebda533407e51be249b59de026670 |
|
BLAKE2b-256 | a2be69bb996642d46d643b9d7c78ce58850ab60aa93f4b4dfabf1eb88f48c837 |