Skip to main content

health records

Project description

health-records

License: GPL v3

A tool for managing personal health records using plain text. Inspired by the principles of plain text accounting.

The main idea is to maintain your own health records in a text file that can be privately stored in your computer and versioned on a private git repository. The included command line tool can query and plot the data.

Records can be entered by hand using a text editor or imported from your own account from online services like Apple Health, Withings, Strava, etc. The import process can be automated.

Health records can include:

  • body metrics: weight, height, blood pressure, heart rate
  • lab results: blood work, cholesterol levels, glucose
  • immunization: flu vaccine doses, covid-19 vaccine doses
  • medications, eye glasses prescription
  • diagnostics and conditions
  • procedures
  • fitness records: workouts, relative effort, average heart rate

Sample health records:

2020-06-07 08:11:00 r 'import from withings - grp 1'
  body.weight 166.34
  body.fat.mass 21.61
  body.fat.ratio 12.99
  body.fat-free.mass 144.73
  body.muscle.mass 133.07
  body.bone.mass 66.54
  body.water 99.8

2020-06-08 00:00:00 r 'import from withings - grp 4'
  body.heart.rate 76
  body.heart.pwv 5.6

Sample command to generate a graph with some health data:

phr plot body.weight

Install

pip install health-records

References

I'm an active user of the great text-based accounting software beancount by Martin Blais. Some of the ideas in beancount have been an inspiration for health-records.

Copyright and License

Copyright (C) 2021 Paco Gómez. All Rights Reserved.

This code is distributed under the terms of the "GNU GPLv3 only". See LICENSE file for details.

Author

Paco Gómez contact@pacogomez.com

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

health-records-0.0.5.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

health_records-0.0.5-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file health-records-0.0.5.tar.gz.

File metadata

  • Download URL: health-records-0.0.5.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for health-records-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0bc34960df487ddfecc2c44059bee3c038d399eba95b31fb3164dcfb4d0a92b6
MD5 fa04c9b63f38df355dac640dbabb2030
BLAKE2b-256 e143d1878ff4bc0d9876f258991f32d45245f53abea6a67bb95a2d55c2b89d6f

See more details on using hashes here.

File details

Details for the file health_records-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: health_records-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for health_records-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ebbc6b3c76a43028fc6f686ea3d725f1a1376c7dc8d4d6b800c021086f80ea7e
MD5 228ab326248fec8cf8da21b6c05d3927
BLAKE2b-256 5ae47022abbab7d42c90d6981ada28d53d9b325960c0424c0ab59b58acfb2f2a

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