Skip to main content

Generate a printable med chart for temporary medication courses

Project description

medtrackerer

medtrackerer is an interactive CLI program to manage med tracking for short-term med courses (e.g., after surgeries). Medtrackerer uses a config file to track medication information and chart details and outputs an opinionated med tracking chart design to printable PDF.

"Opinionated" here means that I am the primary user of this program, and I am replicating a spreadsheet [REDACTED] has been maintaining manually for years and that works very well for me personally. The chart design is not customizeable at this time because this is a purely selfish project to let me never touch a spreadsheet for med tracking again.

You can see an example pdf here, based on a sample config file.

Installation

Medtrackerer can be installed as a python package. Instructions for uv are provided.

# install latest release
uv tool install medtrackerer

Usage

Quickstart

Run medtrackerer new to interactively create a config file in your current working directory.

Run medtrackerer generate path/to/config.toml to generate the med chart PDF.

Check out the --help menus for quick reference on the command line.

Creating a New Chart Config

Use medtrackerer new to interactively create a new med chart config. Medtrackerer will confirm your inputs before saving the file. The file name will be an escaped version of the name you specified, so don't worry about making the name filename-friendly.

The config file will be a list of all the medications or tasks you want to track on the chart. It serves as the configuration for the generated tracker chart and as a straightforward list for your reference!

Options:

# set the chart's name (and ask everything else)
medtrackerer new -n "My Cool Chart!"
# set the chart's start date to today
medtrackerer new -s 
# set the chart's start date to a specific date in year-month-day format
medtrackerer new -s 2025-06-17

Adding to an Existing Chart Config

Use medtrackerer add path/to/my_chart.toml to add medications or tasks to an existing chart. This uses the same interactive flow for medications as medtrackerer new.

NB: Medtrackerer supports additive edits only. If you need to edit or remove an existing item, please edit your config file in your favorite text editor.

Generating the Printable Chart

Use medtrackerer generate ./path/to/my_chart.toml to generate a printable PDF with all medication doses to be tracked. This will output to <CHART_FILENAME>.pdf in the same directory.

NB Pagination is not supported (yet). One printout is good for about fourteen days of meds.

Addendum

This was a project for me to learn Python.

No LLMs were or will be used in the making of this project.

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

medtrackerer-1.0.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

medtrackerer-1.0.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file medtrackerer-1.0.0.tar.gz.

File metadata

  • Download URL: medtrackerer-1.0.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Void","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for medtrackerer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 521f0e330134b497af6ff52079f136dcbd3b2e84f50890cfc953e6f1f4df874f
MD5 293bcd9f48d934f6c5cf664e69e4692b
BLAKE2b-256 a477486a8a81360d4ed635863a3361f7e1161e675ba71dd9f531607dbeda8f84

See more details on using hashes here.

File details

Details for the file medtrackerer-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: medtrackerer-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Void","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for medtrackerer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e76e47e57bd8276632faebe145e464d7d0bad6d0e9877c2cd1386b38b5a311fd
MD5 43a714263cac4d5eb185201f149efc45
BLAKE2b-256 295a7aa88305500b7cb848a87c47bbc1e72a71168893914a06cabad88975815f

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