Skip to main content

A Python package to convert Apple Health Heartrate in Pandas

Project description

PyPI license PyPI version fury.io PyPI pyversions

apple-heartrate-pandas

Simple package to read as a pandas dataframe the heartrate from the Apple Watch.

Requirements

For the moment, only pandas is required. Since in this package I make use of the attrs field in pandas, I suggest to install my fork to have those saved as well using parquet file format. However, if no interest in the attrs, just go for a standard Pandas installation.

For reference, in the requirements.txt file, I have put the installation link to my fork.

Usage

Just do:

from apple_heartrate_pandas import get_json_heartrate

to import the main module required. Once this is done, just feed the method a path to the json file, extracted with the Auto Export application on iOS, and you are done.

@2022, Leonardo Alchieri

People-Centered Computing Lab - Università della Svizzera italiana, Switzerland

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_heartrate_pandas-0.1.6.tar.gz (3.9 kB view hashes)

Uploaded Source

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