MCPcopy Index your code
hub / github.com/dogsheep/healthkit-to-sqlite

github.com/dogsheep/healthkit-to-sqlite @1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.1 ↗ · + Follow
21 symbols 47 edges 5 files 1 documented · 5% updated 3y ago1.0.1 · 2021-08-20★ 2476 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Core symbols most depended-on inside this repo

convert_xml_to_sqlite
called by 2
healthkit_to_sqlite/utils.py
write_records
called by 2
healthkit_to_sqlite/utils.py
get_long_description
called by 1
setup.py
find_all_tags
called by 1
healthkit_to_sqlite/utils.py
workout_to_db
called by 1
healthkit_to_sqlite/utils.py
points_from_gpx
called by 1
healthkit_to_sqlite/utils.py
cli
called by 0
healthkit_to_sqlite/cli.py

Shape

Function 20
Route 1

Languages

Python100%

Modules by API surface

tests/test_healthkit_to_sqlite.py13 symbols
healthkit_to_sqlite/utils.py5 symbols
healthkit_to_sqlite/cli.py2 symbols
setup.py1 symbols

For agents

$ claude mcp add healthkit-to-sqlite \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page