/idp-fuel-tracker

Project to help me automate fuel tracking and play around with Intelligent Document Processing.

Primary LanguagePythonMIT LicenseMIT

Intelligent Document Processing - Fuel Tracker

Project to help me automate fuel tracking and play around with Intelligent Document Processing.

Project Specification

Given that you can link directly to an S3 bucket upload page:

https://s3.console.aws.amazon.com/s3/upload/<MY_S3_BUCKET>?iam_user=true&account=<ACCOUNT_NAME>&region=ap-southeast-2&prefix=<my/bucket/prefix/>

I have something like this bookmarked in Chrome to easily upload TWO photos I take when tracking my fuel.

  1. Photo of the odometer
  2. Photo of the receipt

This project should help me automate this flow to collect this information:

  1. Transaction date
  2. Odometer reading
  3. Litres of fuel purchased (I always refill to the top)
  4. Type of fuel purchased (E10, ULP91, ULP95, ULP98)
  5. Total cost of fuel purchased

With this information I can deduce:

  1. Distance (from odometer readings)
  2. Price per Litre (Cost / Litres)
  3. Time between refuels (transaction date)
  4. Fuel Economy L / 100km (Litres and Odometer)

Quickstart

Setup

rm -rfv .venv
make init 
make lock 
make dev 
make fix

#OR

make all

Run

.venv/bin/python3 -m idp_fuel_tracker
# OR 
make run

TODO