Apple health data extractor
This library provides functionality to parse and extract data from the XML exports of Apple Health app, enabling users to analyze and utilize their health data conveniently.
Features
Convert health data from XML format to JSON and CSV. Retrieve types of records present in the health data. Extract records of a specific type.
Installation
You can install the library via pip:
pip install apple-health-extractor
Usage
from extractor import Extractor
# Initialize the extractor with the path to the XML file
extractor = Extractor("path/to/health_data.xml")
# Get the health data as JSON
json_data = extractor.get_json()
# Save the health data to a CSV file
extractor.save_to_csv()
# Get the types of records available in the health data
record_types = extractor.get_record_types()
# Get records of a specific type
specific_records = extractor.get_records("HKQuantityTypeIdentifierHeartRate")
Contributing
Contributions are welcome! Please fork the repository and open a pull request with your improvements.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for apple-health-extractor 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apple_health_extractor-0.1.6.tar.gz | 3.2 kB | Without provenance | Details for apple_health_extractor-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apple_health_extractor-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for apple_health_extractor-0.1.6-py3-none-any.whl |
Total release size: 7.6 kB
Release files / apple_health_extractor-0.1.6.tar.gz
| Download URL | apple_health_extractor-0.1.6.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f596d68c3fa52668231a724b7c3ea58dce5f92ebac103b88cc64404ddd7280a3
|
|
BLAKE2b-256 checksum How to use checksums |
3dd0aa942b3ba41bcd2eee393279f5821629ae8092cd30cfa28ba6494b602513
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.1 Darwin/23.2.0
|
Release files / apple_health_extractor-0.1.6-py3-none-any.whl
| Download URL | apple_health_extractor-0.1.6-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d499419b474ef9123ca5cd5dacea578d28d049aa62515d3205fcd9a20966cf6
|
|
BLAKE2b-256 checksum How to use checksums |
264667372210609352310f0495a271de409c239b7fd666f10b8fb6229ccd62ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.1 Darwin/23.2.0
|
Security for apple-health-extractor 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.