项目作者: dogsheep

项目描述 :
Convert an Apple Healthkit export zip to a SQLite database
高级语言: Python
项目地址: git://github.com/dogsheep/healthkit-to-sqlite.git
创建时间: 2019-07-20T05:03:12Z
项目社区:https://github.com/dogsheep/healthkit-to-sqlite

开源协议:Apache License 2.0

下载


healthkit-to-sqlite

PyPI
Changelog
Tests
License

Convert an Apple Healthkit export zip to a SQLite database

How to install

  1. $ pip install healthkit-to-sqlite

How to use

First you need to export your Apple HealthKit data.

  1. On your iPhone, open the “Health” app
  2. Click the profile icon in the top right
  3. Click “Export Health Data” at the bottom of that page
  4. Save the resulting file somewhere you can access it, or AirDrop it directly to your laptop.

Now you can convert the resulting export.zip file to SQLite like so:

  1. $ healthkit-to-sqlite export.zip healthkit.db

A progress bar will be displayed. You can disable this using --silent.

  1. Importing from HealthKit [#-------------] 5% 00:01:33

You can explore the resulting data using Datasette like this:

  1. $ datasette healthkit.db