Skip to content

trentspi/fuelCalculator

Repository files navigation

Python Fuel Calculator Application

Description: This application was created as the final project for the IUPUI CSCI 23000 course. Fuel Calculator can help you monitor how many MPG (miles / gallons) your car is travelling, while also saving your fueling data in a table.

Purpose: Fuel Calculator is intended for anyone with a vehicle. Having such a calculator will allow for people to understand how many miles their car will travel per gallon of given gas. This can be extremely useful for those trying to conserve fuel usage and maximize the amount of distance travelled for their money. However, many modern cars will display the average MPG during travels. This application is still useful because the extensive data entries can show the user over an extended period of time exact calculation points. Such monitoring capabilities are more powerful than an average MPG display given from a car dashboard. This application is also a very nice tool for displaying the amount of money spent on gas per fill, how the average prices of gas fluctuate, and how many miles on average are added to the odometer per fill.

Technologies used:

  • Languages

    • Python
    • HTML
    • CSS
    • JavaScript
  • Server/backend:

    • Bottle.py
  • Database:

    • SQLite3
  • Libraries:

    • JQuery
    • JQuery UI
    • W3.CSS

Usage

To run the fuelCalculator application, an install of Python must be present on your machine.

Installation + Setup Instructions

  • Download / Clone repository onto local machine
  • Run the following command python fcApp.py to start the server
  • Navigate to http://localhost:8080 in your web browser
  • Create an account
  • Login to your account