Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 4.13 KB

README.md

File metadata and controls

67 lines (42 loc) · 4.13 KB

PET FOOD CALCULATOR

Video Demo: <Pet Food Calculator>

Description

Welcome to the Pet Food Calculator! This is an open source Flask web application that allows you to input your pet's information and get recommended feeding amounts. It will also provide specific recommendations based on your pet's life stage.

When changing your pet from one food to another, it is important to do a slow transition over 5-14 days (the actual time depends on how sensitive your pet's stomach is, though generally, the transition period is 5-7 days).

Please email [email protected] or submit a pull request if you would like to contribute. I'd love to collaborate. Thank you for your consideration!

Features

  • Calculates Resting Energy Requirements (RER) and Daily Energy Requirements (DER) for dogs and cats
    • Assigns feeding recommendations based on the middle value of the DER first
    • Calculates maximum calories a dog or cat can receive from treats a day without unbalancing their diets (based on 8-10% of their RER)
  • Provides information to users so they may make informed decisions about their pet's nutrition by providing resources and formulas that veterinarians trust
    • Including links to the American Animal Hospital Association (AAHA), Association of American Feed Control Officials (AAFCO), and World Small Animal Veterinary Association (WSAVA) so users may learn more without being swamped with misinformation
  • Assigns recommendations for the following:
    • Dogs and cats with ideal body condition scores
    • Mildly obese (Body Condition Score [BCS] 6-7/9) dogs and cats
    • Obese (BCS 8+/9) dogs and cats
    • Pregnant dogs and cats
    • Nursing dogs and cats
  • Provides exercise tips if pets are not already active

Needs Tweaking

  • Pediatric dogs and cats disclaimers

Credits

Images

SVGs

Version 2 (completed 9/3/24)

Treat Calculator

a screen grab of the human food lookup page

The portfolio project for day 96 of 100 Days of Code: The Complete Python Pro Bootcamp. The goal was to create a web application based on an API we found interesting. I chose the API from FatSecret because I wanted to to see the caloric information of various human foods. Using this information, the Pet Food Calculator calculates how much of a chosen human food they can receive per day without unbalancing their diet. Treat amounts are between 8-10% of a pet's resting energy requirements.

Choosing a Human Food

a screen grab of the human food lookup page with search results

The user can choose the food that they want to calculate for by clicking the "Calculate Treat Amounts" button.

Final Treat Page Result

a screen grab of the final treat calculation page

The final treat calculation page provides a reminder of the max amount of calories a pet can have per day from treats without unbalancing their diet. If there is more than a certain amount of a type of treat, users are cautioned to ensure with their vet that there will be no expected side effects or potential health issues.