Recognize a family medical archive into tracked Obsidian Markdown, delegating OCR to pro-ledin-ocr.
Project description
pro-ledin-healthos
Recognize an external family medical archive (PDFs, scans, photos) into tracked
Obsidian Markdown that mirrors the source folder structure one-to-one. OCR is
delegated to the pro-ledin-ocr package,
imported as a library. HealthOS never interprets medical content — it only
transcribes and mirrors.
- Import name:
pro.ledin.healthos - Console script:
healthos - PyPI:
pro-ledin-healthos
Install
pip install pro-ledin-healthos # pulls in pro-ledin-ocr
pip install "pro-ledin-healthos[vision]" # + OpenAI-compatible vision-api engine
System binaries poppler and tesseract are required for the local OCR path.
Configure
Set the AGENT_HEALTH_* environment variables (see SKILL.md for the full
list):
export AGENT_HEALTH_SOURCE_DIR=/absolute/path/to/source # ':'-separated for many
export AGENT_HEALTH_TARGET_DIR=/path/to/vault/03-areas/health
export AGENT_HEALTH_CACHE_DIR=~/Library/Caches/healthos
export AGENT_HEALTH_OCR_ENGINE=vision-api
# vision-api engine also needs:
export AGENT_HEALTH_VISION_API_URL=http://127.0.0.1:1234/v1
export AGENT_HEALTH_VISION_API_KEY=token
export AGENT_HEALTH_VISION_MODEL=model-name
Never store real credentials in tracked files.
Run
healthos index # recognize + mirror into the target
healthos index --check # verify cache/outputs without writing
By default HealthOS imports the installed pro-ledin-ocr package. Set
AGENT_HEALTH_OCR_SCRIPT=/path/to/ocr.py to load an alternative
ocr.py-shaped module from a file instead (importlib escape hatch).
Development
Local dev resolves pro-ledin-ocr from a sibling ../ocr checkout via
[tool.uv.sources] in pyproject.toml:
uv run --extra dev pytest
uv build
To test against the published pro-ledin-ocr from PyPI instead (as CI does),
add --no-sources:
uv run --no-sources --extra dev pytest
uv build --no-sources
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pro_ledin_healthos-0.5.0.tar.gz.
File metadata
- Download URL: pro_ledin_healthos-0.5.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
278c8e0de514c69f8478c6f72ba9c76ecad8d620f187a160084087fcb27cf366
|
|
| MD5 |
36d905c1a064b703f9f9321855740ff3
|
|
| BLAKE2b-256 |
06f7d9520a4d3dd557e6a0fecb1282433761d71e0e8c7d572e9d52a470046fae
|
File details
Details for the file pro_ledin_healthos-0.5.0-py3-none-any.whl.
File metadata
- Download URL: pro_ledin_healthos-0.5.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdbb37f6fffc904ab2c7c511092e7daa0b41ec6636e688a1e0e5588e97a2c05d
|
|
| MD5 |
11b14baa15d1e4b6f860b64d0b792458
|
|
| BLAKE2b-256 |
d539094f0c608be9f7585697a7dda03d404576719f69d11e2a6d285d464beb95
|