A Python package for parsing Apple Health Export data
Project description
Apple Health Parser
A Python package for parsing and analyzing Apple Health Export data.
Installation
pip install parse_apple_health_data
Usage
from parse_apple_health_data import load_health_data
# Create parser instance
parser = load_health_data('export.xml')
# Get data as pandas DataFrames
dataframes = parser.to_dataframes()
# Access specific measurements
steps_df = dataframes['HKQuantityTypeIdentifierStepCount']
sleep_df = dataframes['HKCategoryTypeIdentifierSleepAnalysis']
Features
- Parse Apple Health Export XML files
- Convert health data to pandas DataFrames
- Separate handling for quantity and category measurements
- Preserve all metadata from original export
- Type hints and documentation
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parse_apple_health_data-0.1.0.tar.gz.
File metadata
- Download URL: parse_apple_health_data-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
333eecef618c2350b25aea299ec126d428f9e3d56f0199cdbe4599e0339b924f
|
|
| MD5 |
65f98a5cd04eaec385b57d5412efb9e2
|
|
| BLAKE2b-256 |
756db6a600dee7dba07e160a25248fa4a716da025e66b3ff39c2a658074b11c1
|
File details
Details for the file parse_apple_health_data-0.1.0-py3-none-any.whl.
File metadata
- Download URL: parse_apple_health_data-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30ce4d80c75396ebaa96b68d1c6e2c216a18445dcccf5e9b1b135d0a0e447107
|
|
| MD5 |
77edec7878091e301b7c91d22cf3e163
|
|
| BLAKE2b-256 |
0229edfb4dede5cf61aad80de8d80ef63764054866c60b9d1091e46830ece473
|