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 details)

Uploaded Source

File details

Details for the file apple_heartrate_pandas-0.1.6.tar.gz.

File metadata

File hashes

Hashes for apple_heartrate_pandas-0.1.6.tar.gz
Algorithm Hash digest
SHA256 724e724cc62914f97ca0ac609a14490fb12aa85767db83a4f6307596cf0335ce
MD5 68503b85f5fb5ae3ce04fc0e42818489
BLAKE2b-256 cfa6d88f1ef4fce50d48854df8d98515ca76d5fa82eee395d4f7740996d5e149

See more details on using hashes here.

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