SkySaver is a flight visualization tool that finds the cheapest flight path, allowing connections, between two cities. Using flight data from the US Department of Transportation, the program displays a shortest path algorithm (either Dijkstra's or Bellman Ford's) in action, highlighting the final path in purple for the user to see. The user is able to see the final cheapest cost, the runtime of the map display, and the year of the best flight path.
The dataset of SkySaver only contains relatively major cities in the contiguous US, but is able to accommodate for a wider range of cities, given more data. Additionally, the dataset only includes data from the years 2019-2023, but likewise is able to accommodate for a larger range of years.
- Head to the GitHub repository for SkySaver (https://github.com/KeeratKK/Cheapest-Flight-Path.git).
- Download the ZIP file from the Code button in the repository.
- Unpack the ZIP file.
- In a terminal, change directories to the Cheapest-Flight-Path-main folder containing the project files.
- If not already installed, install Python 3.12.0 (other Python versions probably also work).
- If not already installed, install Flask with
pip install flask
. - If not already installed, install Pandas with
pip install pandas
. - Run the command
python -m flask run
. - In the terminal, click the link that displays after running the above command.
- You should now have the SkySaver webpage open; after inputting values for origin, destination, years, and algorithm, click the "Calculate!" button to generate results (you are able to continue testing more flights as long as the webpage is active).
- To close the program, head back into the terminal and type "Ctrl + C".
- If you wish to run the program later on, repeat steps 8-11.