health-records
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
Metadata
Release files for health-records 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| health-records-0.0.7.tar.gz | 18.4 kB | Without provenance | Details for health-records-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| health_records-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for health_records-0.0.7-py3-none-any.whl |
Total release size: 37.3 kB
Release files / health-records-0.0.7.tar.gz
| Download URL | health-records-0.0.7.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9c5f182b231ee1dde0d4615adb3bab2e5f14909f3cda2f082186e793e6e07fb
|
|
BLAKE2b-256 checksum How to use checksums |
0cb83b5618293c48abf34f7d5d47277812c36ddc2899e26227d7f27ac8c75fdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / health_records-0.0.7-py3-none-any.whl
| Download URL | health_records-0.0.7-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c6a238b0d2b127dff548c84c0821f47a33a06e68e565902d891f1285615fdd8
|
|
BLAKE2b-256 checksum How to use checksums |
0cf9204e527b9790b99b36d707e94a1e410b911c7c6f66c54969ca8c2b58ea54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Security for health-records 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.