Motivation
Warming infant formula takes time — and if you wait until the baby is crying, you're already behind. Warmed milk also has a short window before it has to be discarded, so estimating too much means waste, and estimating too little means starting over. I wanted a tool that would tell me two things before each feed: when the next one was likely to happen, and roughly how much to prepare.
Implementation
Feed logs are entered via Google Docs and collected by a Python script, which converts them into a pandas dataframe. Recent activity — typically the last few days — is used to project the next feed's timing and volume. The script then sends an email to configured recipients with the projected time and quantity, along with running summary stats: average interval between feeds, average daily feed count, and so on.
Tools & Technologies