Skip to main content

Convert an Apple Healthkit export zip to a SQLite database

Project description

healthkit-to-sqlite

PyPI Changelog Tests License

Convert an Apple Healthkit export zip to a SQLite database

How to install

$ 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:

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

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

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

You can explore the resulting data using Datasette like this:

$ datasette healthkit.db

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

healthkit-to-sqlite-1.0.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

healthkit_to_sqlite-1.0.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file healthkit-to-sqlite-1.0.1.tar.gz.

File metadata

  • Download URL: healthkit-to-sqlite-1.0.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for healthkit-to-sqlite-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7c83741de71b2f2962358a3ce07fc12dd64cdf6fd2779f9b29a6414fc1e64c06
MD5 f1e5b92b0ff1f7c91bb2b74dbd809601
BLAKE2b-256 597c78679140ffa8e17d2ad874764153cfc7ba942870967738dda9e16e6f3b8a

See more details on using hashes here.

File details

Details for the file healthkit_to_sqlite-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: healthkit_to_sqlite-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for healthkit_to_sqlite-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5dc91c1347d3139124b1a47abecaad30c1618932c083444021f85b98d679f91
MD5 14f6e8377be9109314fe221b2e038fcd
BLAKE2b-256 6b1db8421aa1c363cb84466c595afadd9975bebc0f48ebb3c868aa4398d9c553

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page