A Python package to convert Apple Health Heartrate in Pandas
Project description
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
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
File details
Details for the file apple_heartrate_pandas-0.1.6.tar.gz
.
File metadata
- Download URL: apple_heartrate_pandas-0.1.6.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 724e724cc62914f97ca0ac609a14490fb12aa85767db83a4f6307596cf0335ce |
|
MD5 | 68503b85f5fb5ae3ce04fc0e42818489 |
|
BLAKE2b-256 | cfa6d88f1ef4fce50d48854df8d98515ca76d5fa82eee395d4f7740996d5e149 |